Re: Re: [PHP] What is a label?

From: Date: Thu, 14 Jul 2011 12:50:50 +0000
Subject: Re: Re: [PHP] What is a label?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-314071@lists.php.net to get a copy of this message
On 14 July 2011 13:37, Steve Staples <sstaples@mnsi.net> wrote: >> A valid variable name starts with a letter or underscore > > If I am not mistaken, $_1 is not a valid variable name. [2011-07-14 13:19:18] [Z:\] [\\richardquadling\scratch$ ] >php -r "$_1 = 'one'; echo $_1;" one It starts with an undercore and is, therefore, just fine! -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

« previous php.general (#314071) next »