note 91318 deleted from language.variables.variable by danbrown

From: Date: Wed, 24 Jun 2009 16:14:13 +0000
Subject: note 91318 deleted from language.variables.variable by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-157371@lists.php.net to get a copy of this message
Note Submitter: Mark Stoddart ---- Note that if you need a variable to being with something prior to the variable variables the expected: $foo_{$bar} = $foobar; Or: $foo_$bar = $foobar; Will not work, only solution I know of at the moment is to use eval to process it: eval('$foo_'.$bar.' = '.$foobar.';');

« previous php.notes (#157371) next »