note 101011 added to language.types.string
| From: | N0lz at hotmail dot de | Date: | Fri, 19 Nov 2010 23:45:27 +0000 |
| Subject: | note 101011 added to language.types.string | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-174214@lists.php.net to get a copy of this message | ||
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}}
----
Server IP: 69.147.83.197
Probable Submitter: 81.210.226.158
----
Manual Page -- http://www.php.net/manual/en/language.types.string.php
Edit -- https://master.php.net/note/edit/101011
Del: integrated -- https://master.php.net/note/delete/101011/integrated
Del: useless -- https://master.php.net/note/delete/101011/useless
Del: bad code -- https://master.php.net/note/delete/101011/bad+code
Del: spam -- https://master.php.net/note/delete/101011/spam
Del: non-english -- https://master.php.net/note/delete/101011/non-english
Del: in docs -- https://master.php.net/note/delete/101011/in+docs
Del: other reasons-- https://master.php.net/note/delete/101011
Reject -- https://master.php.net/note/reject/101011
Search -- https://master.php.net/manage/user-notes.php