ID:               43734
 User updated by:  kimdeaig at hanmail dot net
 Reported By:      kimdeaig at hanmail dot net
-Status:           Open
+Status:           Closed
 Bug Type:         *General Issues
 Operating System: linux/window
 PHP Version:      5.2.5
 New Comment:

change


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

[2008-01-03 02:41:45] kimdeaig at hanmail dot net

Description:
------------
basic code error

Reproduce code:
---------------
// END;[  ] blank add
echo <<<END
This uses the "here document" syntax to output
multiple lines with $variable interpolation. Note
that the here document terminator must appear on a
line with just a semicolon. no extra whitespace!
END;&nbsp


Expected result:
----------------
This uses the "here document" syntax to output
multiple lines with $variable interpolation. Note
that the here document terminator must appear on a
line with just a semicolon. no extra whitespace!


Actual result:
--------------
<b>Parse error</b>:  syntax error, unexpected $end in


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


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

Reply via email to