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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kimdeaig at hanmail dot net
New email:
PHP Version: OS:

 

 [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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-03 04:54 UTC] kimdeaig at hanmail dot net
change
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 07:01:28 2025 UTC