ID:               30317
 Updated by:       [EMAIL PROTECTED]
 Reported By:      matteo_tullo at hotmail dot it
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Linux, Windows 98, Solaris
 PHP Version:      4.3.9
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

.


Previous Comments:
------------------------------------------------------------------------

[2004-10-04 12:20:52] matteo_tullo at hotmail dot it

Description:
------------
putting a comment on the same line of a here document terminator
provokes a parse error





Reproduce code:
---------------
<?php
PRINT <<<EOF
a
EOF;//comment
?>


Expected result:
----------------
I expected the script to print:

a



Actual result:
--------------
parse error, unexpected $ in <filename> on line 5


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30317&edit=1

Reply via email to