note 103612 added to function.echo
| From: | blackhole at ggot dot org | Date: | Fri, 22 Apr 2011 17:18:41 +0000 |
| Subject: | note 103612 added to function.echo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-179084@lists.php.net to get a copy of this message | ||
In response to gbarros at yahoo-inc dot com:
If you use the full variable syntax, you can do whatever you need to, quotes and all, e.g.
<?php
echo <<< HEREDOC
My variable is {$foo['bar']['baz']->qux}
HEREDOC;
?>
----
Server IP: 64.71.164.2
Probable Submitter: 159.113.201.240
----
Manual Page -- http://www.php.net/manual/en/function.echo.php
Edit -- https://master.php.net/note/edit/103612
Del: integrated -- https://master.php.net/note/delete/103612/integrated
Del: useless -- https://master.php.net/note/delete/103612/useless
Del: bad code -- https://master.php.net/note/delete/103612/bad+code
Del: spam -- https://master.php.net/note/delete/103612/spam
Del: non-english -- https://master.php.net/note/delete/103612/non-english
Del: in docs -- https://master.php.net/note/delete/103612/in+docs
Del: other reasons-- https://master.php.net/note/delete/103612
Reject -- https://master.php.net/note/reject/103612
Search -- https://master.php.net/manage/user-notes.php