ID: 31371 Updated by: [EMAIL PROTECTED] Reported By: justin at superglobals dot com -Status: Verified +Status: Closed Bug Type: Scripting Engine problem Operating System: FreeBSD 5.2.1 PHP Version: 5.0.3 New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2005-01-02 20:22:02] [EMAIL PROTECTED] Yup, this is an annoying bug I have run across as well. ------------------------------------------------------------------------ [2005-01-01 01:17:16] justin at superglobals dot com Description: ------------ highlight_file () doesn't seem to be understanding heredoc's quite right. It forgets to place a line return after the closing heredoc tag. Reproduce code: --------------- test.php <?php $here = <<<DOC asdf asdf asdf DOC; highlight_file ('test.php'); ?> Expected result: ---------------- <?php $here = <<<DOC asdf asdf asdf DOC; highlight_file ('test.php'); ?> Actual result: -------------- <?php $here = <<<DOC asdf asdf asdf DOC;highlight_file ('test.php'); ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31371&edit=1