Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40545 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72412 invoked from network); 18 Sep 2008 14:58:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Sep 2008 14:58:44 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 204.11.219.139 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 204.11.219.139 mail.lerdorf.com Received: from [204.11.219.139] ([204.11.219.139:52947] helo=mail.lerdorf.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 47/75-44246-3AC62D84 for ; Thu, 18 Sep 2008 10:58:44 -0400 Received: from Macintosh-194.local (socks1.corp.yahoo.com [216.145.54.158]) (authenticated bits=0) by mail.lerdorf.com (8.14.3/8.14.3/Debian-5) with ESMTP id m8IEwYY1027750 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 18 Sep 2008 07:58:37 -0700 Message-ID: <48D26C99.9020400@lerdorf.com> Date: Thu, 18 Sep 2008 09:58:33 -0500 User-Agent: Thunderbird/3.0a2pre (Macintosh; 2008071516) MIME-Version: 1.0 To: marius popa CC: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc From: rasmus@lerdorf.com (Rasmus Lerdorf) marius popa wrote: > I was looking at the examples used in php.js library > http://phpjs.org/functions/index > and it struck me that is cleaner to read the functions and code without the > $ names in it > >> From what i understand $ in front of variables is an Perl legacy And how do you propose to do string interpolation? echo "This is a $var in a string"; or: echo <<