Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_object_handlers.c /tests bug29015.phpt

From: Date: Fri, 29 Apr 2005 09:41:27 +0000
Subject: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_object_handlers.c /tests bug29015.phpt
References: 1 2 3  Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3622@lists.php.net to get a copy of this message
Derick Rethans wrote:
On Fri, 29 Apr 2005, Andrey Hristov wrote:
The name of the property includes characters invalid for a property (variable) name.
Not really - the following works fine too: $var = new StdClass; $a = "\1\2\3"; $var->{$a} = 'foo'; var_dump($var); It's a feature ;-) Derick
this too : php -r '$a=123;$b->$a = 1; var_dump($b);' Andrey

« previous php.zend-engine.cvs (#3622) next »