#36213 [Ver->Csd]: Undocumented constant
| From: | vrana@php.net | Date: | Wed, 08 Feb 2006 15:45:00 +0000 |
| Subject: | #36213 [Ver->Csd]: Undocumented constant | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969371885@lists.php.net to get a copy of this message | ||
ID: 36213
Updated by: vrana@php.net
Reported By: gustavo@php.net
-Status: Verified
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2006-02-03 00:49:07] philip@php.net
The php_sapi_name() documention should also mention this constant, and
the upcoming PHP_SAPI docs should mention the function as the function
has been available much longer.
------------------------------------------------------------------------
[2006-01-30 18:17:18] gustavo@php.net
Description:
------------
PHP_SAPI is a constant defined by PHP, but it is not documented in
http://php.net/reserved.constants
Reproduce code:
---------------
Try this:
<?php
echo PHP_SAPI;
?>
You will get a string, but won't find PHP_SAPI in
<http://php.net/reserved.constants>.
By the way, it's mentioned in <http://php.net/features.commandline>.
Expected result:
----------------
For example:
PHP_SAPI
Available since PHP 5.0.0.
Actual result:
--------------
Undocumented constant.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36213&edit=1