#30537 [Opn]: Predefined Constants Missing Magic constants
| From: | ammar at gnuix dot com | Date: | Thu, 28 Oct 2004 00:45:00 +0000 |
| Subject: | #30537 [Opn]: Predefined Constants Missing Magic constants | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969364680@lists.php.net to get a copy of this message | ||
ID: 30537
User updated by: ammar at gnuix dot com
Reported By: ammar at gnuix dot com
Status: Open
Bug Type: Documentation problem
Operating System: *
PHP Version: Irrelevant
New Comment:
But I think they need to be also linked from the reserved constants
page. Information should be available wherever appropriate, I had hard
time finding those magic constants, if they were linked from that page
things would have been better :)
Previous Comments:
------------------------------------------------------------------------
[2004-10-26 06:39:04] philip@php.net
Some notes:
- These constants are linked to from here:
http://php.net/constants
- reserved.constants should link to language.constants but as of now
reserved.constants contains the following text:
<!--
This file shold only be present in the English doc tree.
If you copy it over to your translation tree you will
be hunted down relentlessly! You have been warned! :)
-->
So perhaps it shouldn't be touched, or, the above note be removed.
- The [predefined/reserved] constants pages should in the very least be
'grouped together' a little better.
------------------------------------------------------------------------
[2004-10-23 03:16:27] ammar at gnuix dot com
Description:
------------
I checked the reserved constants page
http://www.php.net/manual/en/reserved.constants.php
And followed both links,
Core Predefined Constants -- Constants defined in the PHP core, Zend,
and SAPI modules
Standard Predefined Constants -- Constants defined in PHP by default
I didn't find the following constants:
__FILE__
__LINE__
__FUNCTION__
__CLASS__
__METHOD__
Maybe they are somewhere else, but for usability and convenience I
think they should be added to this page, maybe in a seperate category.
P.S: Please reply to my email address directly, as i'm not subscribed
to this list
Regards,
Ammar Ibrahim
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30537&edit=1