php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #8680 Here-DOC termination
Submitted: 2001-01-12 12:38 UTC Modified: 2001-02-21 18:53 UTC
From: anthony at trams dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0.4 OS: Any
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: anthony at trams dot com
New email:
PHP Version: OS:

 

 [2001-01-12 12:38 UTC] anthony at trams dot com
The following PHP code causes a Parse error:

$string <<< EOD
This
is
a
string.
EOD ;

Workaround: eliminate space that precedes semicolon.  This causes me to depart from the best practices I chose to follow.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-12 12:58 UTC] derick@php.net
This is intended, but noted in the manual.
 [2001-02-21 18:53 UTC] andre@php.net
forgot closing
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 06:01:29 2025 UTC