note 101011 rejected from language.types.string by danbrown

From: Date: Fri, 19 Nov 2010 23:54:21 +0000
Subject: note 101011 rejected from language.types.string by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-174215@lists.php.net to get a copy of this message
Note Submitter: N0lz at hotmail dot de ---- In the last example of your awesome Example you have written: echo "This is the value of the var named $name: {${$name}}"; but to make it print out:"This is the value of the var named $name: VALUE" you have to escape the $... This is the value of the var named \$name: {${$name}}

« previous php.notes (#174215) next »