note 72913 added to function.print
| From: | tahir at sandikkaya dot name dot tr | Date: | Sat, 03 Feb 2007 22:33:06 +0000 |
| Subject: | note 72913 added to function.print | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-122774@lists.php.net to get a copy of this message | ||
Just to show how PHP parse the variables in double quotes.
$a = 'b';
$aa = 'c';
echo "$aa";
// Prints: c
echo "$a$a";
// As expected prints: bb
echo "${a}a";
// Prints: ba
----
Server IP: 139.179.10.17
Probable Submitter: 160.75.26.144
----
Manual Page -- http://www.php.net/manual/en/function.print.php
Edit -- https://master.php.net/note/edit/72913
Del: integrated -- https://master.php.net/note/delete/72913/integrated
Del: useless -- https://master.php.net/note/delete/72913/useless
Del: bad code -- https://master.php.net/note/delete/72913/bad+code
Del: spam -- https://master.php.net/note/delete/72913/spam
Del: non-english -- https://master.php.net/note/delete/72913/non-english
Del: in docs -- https://master.php.net/note/delete/72913/in+docs
Del: other reasons-- https://master.php.net/note/delete/72913
Reject -- https://master.php.net/note/reject/72913
Search -- https://master.php.net/manage/user-notes.php