ID: 11449
Updated by: zeev
Status: Open
Bug Type: Scripting Engine problem
Operating system: 
PHP Version: 4.0.5
Assigned To: 

Static variables are a 'feature' of the function, and are declared in compile-time.  
Since it's impossible to know their name in compile-time, it's not possible to use 
varying expression as the static variable name.

Previous Comments:

[2001-06-12 20:23:22] [EMAIL PROTECTED]
this script produces a parse error:

function test(){
static $$a;


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to