php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #61254 A number is outdated
Submitted: 2012-03-02 22:09 UTC Modified: 2012-03-04 12:24 UTC
From: 0gb dot us at 0gb dot us Assigned: bjori (profile)
Status: Closed Package: Documentation problem
PHP Version: 5.4.0 OS: None
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: 0gb dot us at 0gb dot us
New email:
PHP Version: OS:

 

 [2012-03-02 22:09 UTC] 0gb dot us at 0gb dot us
Description:
------------
---
From manual page: http://www.php.net/language.constants.predefined
---
The page says "There are seven magical constants that change depending on where 
they are used."

However, eight are listed: __LINE__, __FILE__, __DIR__, __FUNCTION__, __CLASS__, 
__TRAIT__, __METHOD__, __NAMESPACE__

Test script:
---------------
[no script available]

Expected result:
----------------
[no documentation error]

Actual result:
--------------
[documentation error]

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-04 12:23 UTC] bjori@php.net
Automatic comment from SVN on behalf of bjori
Revision: http://svn.php.net/viewvc/?view=revision&revision=323859
Log: Fixed bug#61254
 [2012-03-04 12:24 UTC] bjori@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.


 [2012-03-04 12:24 UTC] bjori@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: bjori
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 09:00:02 2026 UTC