On Thu, 2011-07-14 at 13:39 +0100, Stuart Dallas wrote:
> On Thu, Jul 14, 2011 at 1:37 PM, Steve Staples <sstap...@mnsi.net> wrote:
> > On Wed, 2011-07-13 at 23:27 +0100, Tim Streater wrote:
> > > A valid variable name starts with a letter or underscore
> >
> > If I am not mistaken, $_1 is not a valid variable name.
> You are mistaken. Try it.
> -Stuart

You're right... I have like 100 php scripts open in my Komodo IDE, and I
tried it before I posted out of curiosity.  I put it in the wrong
script, therefore, when it didn't do anything I assumed it didn't work.

Thanks Stuart, for pointing that out!  I've never used a number as the
first character after the $_, and I still probably never will... force
of habit I guess :)


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to