Re: [PHP] Stupid question

[email protected] (Curtis Maurand)
Newsgroups php.general
Message-ID <[email protected]>
On 2/27/2013 6:32 PM, tamouse mailing lists wrote:
> On Wed, Feb 27, 2013 at 2:42 AM, Sebastian Krebs <[email protected]> wrote:
>> 2013/2/27 tamouse mailing lists <[email protected]>
>>> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.