Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40577 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59931 invoked from network); 20 Sep 2008 18:04:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Sep 2008 18:04:07 -0000 Authentication-Results: pb1.pair.com header.from=guilhermeblanco@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=guilhermeblanco@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.226 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: guilhermeblanco@gmail.com X-Host-Fingerprint: 209.85.198.226 rv-out-0506.google.com Received: from [209.85.198.226] ([209.85.198.226:4183] helo=rv-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DF/ED-65213-61B35D84 for ; Sat, 20 Sep 2008 14:04:06 -0400 Received: by rv-out-0506.google.com with SMTP id g37so843601rvb.23 for ; Sat, 20 Sep 2008 11:04:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=KHLHNs6l2TFMjB8sCzPahJFFR9t5FBvQBxopmWSjwIQ=; b=f1/xOY8YHFt1NaNAQzzF3CMIVq0bPptW5mxMIFaEpT2NMS9MLR+xjG6GRP8Fh4dywK 8vxmq6KzfWNk+fKcvnNte4iVmNROJW47rdI9iQ864r0oARSVkvOPQgpk0BzDKHlc9Alk DjtuJM+K9VP6zFE6oNrU9/WnUkiadZYXLIeEc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Tni24HgSWch3gXCmSZjD9gPv/RpovzIJXPvdLAMJ8rfhnUh/Eg6iMS7YmkyhNWMoQi +5fjvD02QhBCTyxB6INL8RngQEFyIWqQBczaj/oBzerFLehxI3Pm84mSlA/TNk838otE B2eY5RmkP7saEZjN7Gooy/cmS/hmZRtkGPjCQ= Received: by 10.141.201.1 with SMTP id d1mr853165rvq.117.1221933842675; Sat, 20 Sep 2008 11:04:02 -0700 (PDT) Received: by 10.141.63.14 with HTTP; Sat, 20 Sep 2008 11:04:02 -0700 (PDT) Message-ID: Date: Sat, 20 Sep 2008 15:04:02 -0300 To: "sotiris karavarsamis" Cc: Marco , jani.taskinen@iki.fi, "Marcus Boerger" , internals@lists.php.net In-Reply-To: <48D53A19.30102@cshell.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <962975.69490.qm@web36405.mail.mud.yahoo.com> <6973016.20080920004704@marcus-boerger.de> <48D4FE18.7080404@sci.fi> <21a817cacf54bb91d3a8c8d635ba786d@cshell.gr> <2fd662a00809200927j34a1500dvb6ea7f08a87ebc62@mail.gmail.com> <48D53A19.30102@cshell.gr> Subject: Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc From: guilhermeblanco@gmail.com ("Guilherme Blanco") @sotiris: explain me how will does this be handled: $array_pop = 'foo'; $test = $array_pop($arrayFoo); // $test = foo($arrayFoo); if you remove the $.... array_pop = 'foo'; test = array_pop(arrayFoo); // huh?!?!?! Cheers, On Sat, Sep 20, 2008 at 2:59 PM, sotiris karavarsamis wrote: > Marco wrote: > > So don't you consider this a serious reason against stripping/changing the > dollar sign? > Do you think that would be a good effect for PHP users if that change would > exist > in a future version of PHP (even in PHP6!)? It's a simple change but a great > shift! >> >> >> > 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! >> >> >> http://en.wikipedia.org/wiki/Sarcasm ... I hope :-D > > I'm not being sarcastic, if you mean it. :p >> >> Regards >> >> Marco > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Guilherme Blanco - Web Developer CBC - Certified Bindows Consultant Cell Phone: +55 (16) 9166-6902 MSN: guilhermeblanco@hotmail.com URL: http://blog.bisna.com Rio de Janeiro - RJ/Brazil