Re: Legal variable names

From: Date: Wed, 22 Nov 2000 16:45:18 +0000
Subject: Re: Legal variable names
References: 1  Groups: php.lang 
Request: Send a blank email to php-lang+get-82@lists.php.net to get a copy of this message
At 16:49 22/11/00 +0100, Sascha Schumann wrote:
On Wed, 22 Nov 2000, Stanislav Malyshev wrote: AL>> you don't hinder me doing ${' asdf asdlkfj'}=5; so why should you strip AL>> leading spaces? That's what I was asking. I just am rather careful there because somebody wrote that code so he should have meant something by it - maybe there are reasons I'm not aware of.
    With regard to php-lang, are there any opinions on whether
    a construct like this should be legal?
        '${' expression '}'
    where expression evaluates to an arbitrary string, not
    necessarily to an identifier (which is basically
    [a-z][a-z0-9]*).
Yep it should be legal. I'll try and find time on the weekend to look over what you have written. Once it's done we should discuss what and how we work on the next step (constructs, scoping and so on). Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.lang (#82) next »