note 91755 deleted from language.variables.variable by danbrown

From: Date: Wed, 24 Jun 2009 17:37:37 +0000
Subject: note 91755 deleted from language.variables.variable by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-157433@lists.php.net to get a copy of this message
Note Submitter: Tyler Bannister ---- If you need to dynamically create a variable name the proper method is ${ 'pre_'. $foo} or ${ $foo .'_post' } So, Mark, you'll need to composite your variable name inside the curly brackets like so: ${ $foo .'_'. $bar } = $foobar

« previous php.notes (#157433) next »