PHP 4.0 Bug #8680 Updated: Here-DOC termination
| From: | derick@php.net | Date: | Fri, 12 Jan 2001 17:58:09 +0000 |
| Subject: | PHP 4.0 Bug #8680 Updated: Here-DOC termination | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43905@lists.php.net to get a copy of this message | ||
ID: 8680
Updated by: derick
Reported By: anthony@trams.com
Status: Open
Old-Bug Type: *General Issues
Bug Type: Documentation problem
Assigned To:
Comments:
This is intended, but noted in the manual.
Previous Comments:
---------------------------------------------------------------------------
[2001-01-12 12:38:50] anthony@trams.com
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.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8680