PHP 4.0 Bug #8680: Here-DOC termination
| From: | anthony at trams dot com | Date: | Fri, 12 Jan 2001 17:38:50 +0000 |
| Subject: | PHP 4.0 Bug #8680: Here-DOC termination | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43902@lists.php.net to get a copy of this message | ||
From: anthony@trams.com
Operating system: Any
PHP version: 4.0.4
PHP Bug Type: *General Issues
Bug description: Here-DOC termination
The following PHP code causes a Parse error:
$string <<< EOD
This
is
a
string.
EOD ;
Workaround: eliminate space that precedes semicolon. This causes me to depart from the best
practices I chose to follow.
--
Edit Bug report at: http://bugs.php.net/?id=8680&edit=1