note 19502 deleted from language.variables by nlopess

From: Date: Wed, 18 Feb 2004 16:28:35 +0000
Subject: note 19502 deleted from language.variables by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-65345@lists.php.net to get a copy of this message
Note Submitter: engard@all.NOSPAM.hu ---- Actually, you can use other chars (including spaces) in the variable name, if you are using variable variables. E.g., the following works for me (in PHP 4.1.1): $x="blah blah-blah"; $$x="value"; echo "var==" . $$x; echo "var==" . ${"blah blah-blah"}; Its output is: var==value var==value You can use it also in object variables (properties).

« previous php.notes (#65345) next »