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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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 14:01:27 2025 UTC