php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #53575 The "invalid HEREDOC" example is totally valid
Submitted: 2010-12-19 21:25 UTC Modified: 2010-12-20 02:36 UTC
From: buhitoescolar at gmail dot com Assigned: kalle (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
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: buhitoescolar at gmail dot com
New email:
PHP Version: OS:

 

 [2010-12-19 21:25 UTC] buhitoescolar at gmail dot com
Description:
------------
As you can see here (http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc), the "Example #1 Invalid example" is a totally valid use of HEREDOC syntax, and works as expected on PHP.

This example should be replaced with a really invalid example


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-20 00:51 UTC] cataphract@php.net
-Type: Bug +Type: Documentation Problem
 [2010-12-20 02:35 UTC] kalle@php.net
Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&revision=306478
Log: Fixed bug #53575 (The "invalid HEREDOC" example is totally valid)

# Also fixed the <screen> tags to be inside examples for better markup rendering
 [2010-12-20 02:36 UTC] kalle@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: kalle
 [2010-12-20 02:36 UTC] kalle@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:08 UTC] phpdocbot@php.net
Automatic comment on behalf of kalle
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=b8045fcb12ab07ead1258ff211eaa2ffb9f52738
Log: Fixed bug #53575 (The "invalid HEREDOC" example is totally valid)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 22:00:01 2026 UTC