PHP 4.0 Bug #4350 Updated: here-docs end-marker doesn't work if indentated...
| From: | Bug Database | Date: | Mon, 08 May 2000 13:31:45 +0000 |
| Subject: | PHP 4.0 Bug #4350 Updated: here-docs end-marker doesn't work if indentated... | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18530@lists.php.net to get a copy of this message | ||
ID: 4350
User Update by: cloaked@hem.passagen.se
Status: Open
Bug Type: Scripting Engine problem
Description: here-docs end-marker doesn't work if indentated...
<?php
print <<< EOH
I am a here-doc...
EOH;
?>
I had a hard time figuring it why this gave a parser error.. It turned out to be the
indentation of the end marker.
Full Bug description available at: http://bugs.php.net/version4/?id=4350