note 24877 deleted from language.variables.predefined by curt

From: Date: Tue, 06 Jul 2004 02:58:10 +0000
Subject: note 24877 deleted from language.variables.predefined by curt
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-72658@lists.php.net to get a copy of this message
Note Submitter: chen@hivemail.com ---- In response to jim.dam@cogeco.ca: > However if your variable_name includes a space or starts with a number, you > cannot access it (as far as I know), except with using the $GLOBALS array. You can actually: $GLOBALS[' foo'] = 'bar'; echo ${' foo'}; Apparently "A valid variable name starts with a letter or underscore, followed by any number of letters, numbers, or underscores." doesn't apply to this method.

« previous php.notes (#72658) next »