php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #67364 juxtaposition of 'true' makes it appear like a keyword
Submitted: 2014-05-31 16:20 UTC Modified: 2014-06-13 16:26 UTC
From: iam4webwork at hotmail dot com Assigned: mazzanet (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: iam4webwork at hotmail dot com
New email:
PHP Version: OS:

 

 [2014-05-31 16:20 UTC] iam4webwork at hotmail dot com
Description:
------------
Manual's token listing (http://us3.php.net/manual/en/tokens.php)
puts 'true' next to parent and then explains that 'T_STRING' refers to identifiers like parent and self, giving the impression that 'true' is a keyword, too, and it is not.

T_STRING	parent, true etc.	 identifiers, e.g. keywords like parent and self, function names, class names and more are matched. See also T_CONSTANT_ENCAPSED_STRING.



Expected result:
----------------
T_STRING	parent, self etc.	 identifiers, e.g. keywords like parent and self, function names, class names and more are matched. See also T_CONSTANT_ENCAPSED_STRING.


Or:

T_STRING	parent, true etc.	 identifiers, e.g. keyword like parent, predefined constants (true, false, etc), function names, class names and more are matched. See also T_CONSTANT_ENCAPSED_STRING.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-06-13 16:25 UTC] mazzanet@php.net
Automatic comment from SVN on behalf of mazzanet
Revision: http://svn.php.net/viewvc/?view=revision&revision=333784
Log: Fix bug 67364
 [2014-06-13 16:26 UTC] mazzanet@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: mazzanet
 [2014-06-13 16:26 UTC] mazzanet@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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 06:00:01 2026 UTC