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 this is not your bug, you can add a comment by following this link.
If this is your bug, but 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

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: Sat May 04 05:01:30 2024 UTC