Re: Stupid question

From: Date: Thu, 28 Feb 2013 02:14:03 +0000
Subject: Re: Stupid question
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-320319@lists.php.net to get a copy of this message
On 2/27/2013 6:32 PM, tamouse mailing lists wrote:
On Wed, Feb 27, 2013 at 2:42 AM, Sebastian Krebs <krebs.seb@gmail.com> wrote:
2013/2/27 tamouse mailing lists <tamouse.lists@gmail.com>
Well, *I* have a stupid question: is $lhv =& expr the same as $lhv = &expr ??
Yes :) Because an operator "=&" doesn't exists, thus the lexer will split them into the tokens "= &", or "= WHITESPACE &" respectively. The parser again ignores whitespaces.
Thanks; thought I was seeing something new, and/or going nuts -- apologies for the thread hijack
Well that means the docs on the PEAR MDB2 website are incorrect and should be fixed. Thanks for the lesson. --Curtis

« previous php.general (#320319) next »