Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40572 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42477 invoked from network); 20 Sep 2008 15:35:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Sep 2008 15:35:54 -0000 Authentication-Results: pb1.pair.com smtp.mail=bri@cshell.gr; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=bri@cshell.gr; sender-id=unknown Received-SPF: error (pb1.pair.com: domain cshell.gr from 195.130.121.123 cause and error) X-PHP-List-Original-Sender: bri@cshell.gr X-Host-Fingerprint: 195.130.121.123 pc123.cs.uoi.gr Linux 2.5/2.6 (sometimes 2.4) (2) Received: from [195.130.121.123] ([195.130.121.123:2271] helo=cshell.gr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 52/1B-65213-75815D84 for ; Sat, 20 Sep 2008 11:35:52 -0400 Received: from cshell.gr (localhost [127.0.0.1]) by cshell.gr (Postfix) with ESMTP id 324A3EF885; Sat, 20 Sep 2008 18:35:26 +0300 (EEST) MIME-Version: 1.0 Date: Sat, 20 Sep 2008 18:35:25 +0300 To: jani.taskinen@iki.fi Cc: Marcus Boerger , internals@lists.php.net In-Reply-To: <48D4FE18.7080404@sci.fi> References: <962975.69490.qm@web36405.mail.mud.yahoo.com> <6973016.20080920004704@marcus-boerger.de> <48D4FE18.7080404@sci.fi> Message-ID: <21a817cacf54bb91d3a8c8d635ba786d@cshell.gr> X-Sender: bri@cshell.gr User-Agent: RoundCube Webmail/0.2a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc From: bri@cshell.gr (Sotiris Karavarsamis) On Sat, 20 Sep 2008 16:43:52 +0300, Jani Taskinen wrote: > Marcus Boerger kirjoitti: >> Hello Ionut, >> >> a Friend suggested to replace it with a Euro sign, so that PHP code > gets >> worth more :-) > > Hey, why not make it configurable (ini option) ?! :D I really do not find it reasonable to change the dollar sign to something else. If we could switch the dollar sign notation in variables on and off with a directive in php.ini, that would break backwards compatibility between apps not only in a single user environments but also in shared hosting envs. Imagine having to switch into dollar sign notation for a phpbb installation and to a notation without the dollar sign for a custom application. It's just crazy! Sotiris > > --Jani > > > >> marcus >> >> Thursday, September 18, 2008, 8:30:37 PM, you wrote: >> >>> Actually, I somehow understand what he wants, considering we'll soon >>> have lambdas and closures. I mean, in case of javascript a variable can >>> hold as well a function as it can hold anything else. Anyway, I don't >>> think this is the case for PHP. I do find it ugly to write $function(), >>> but I guess I'll live with it as I did until now. >> >>> Cheers, >>> I. Stan >> >> >> >> >>> ----- Original Message ---- >>> From: Brian Moon >>> To: mike >>> Cc: marius popa ; internals@lists.php.net >>> Sent: Thursday, September 18, 2008 9:06:11 PM >>> Subject: Re: [PHP-DEV] php7- dropping the $ from the variable name - > rfc >> >>> mike wrote: >>>> Personally I love the $. It makes it so much easier to identify >>>> variables. It's a single character. Can't see the need honestly to >>>> even bring this up. >> >>> +1,000,000. Horrible idea. *facepalm* >> >>> -- >> >>> Brian Moon >>> Senior Web Engineer >>> ------------------------------ >>> When you care enough to spend the very least. >>> http://dealnews.com/ >> >> >>> -- >>> PHP Internals - PHP Runtime Development Mailing List >>> To unsubscribe, visit: http://www.php.net/unsub.php >> >> >>> >> >> >> >> >> Best regards, >> Marcus >> >> > > >