note 95334 rejected from language.types.string by thiago
| From: | thiago@php.net | Date: | Mon, 28 Dec 2009 12:13:08 +0000 |
| Subject: | note 95334 rejected from language.types.string by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-164381@lists.php.net to get a copy of this message | ||
Note Submitter: EmmanuelCasilang at yahoo dot com
----
For Example Number 3:
The code for example number 3 will generate an error message something like this:
Fatal error: Function name must be a string in /opt/www/INTAPPS/elcasilang/heredoc_pass.php on line
3
The correct code for this is...:
$var_dump[array(<<<EOD
foobar!
EOD
)];
Notice we used [] instead of ()