php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43734 general code error
Submitted: 2008-01-03 02:41 UTC Modified: 2008-01-03 04:54 UTC
From: kimdeaig at hanmail dot net Assigned:
Status: Closed Package: *General Issues
PHP Version: 5.2.5 OS: linux/window
Private report: No CVE-ID: None
 [2008-01-03 02:41 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-03 04:54 UTC] kimdeaig at hanmail dot net
change
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 06:01:35 2024 UTC