ID:          36213
 Updated by:  [EMAIL PROTECTED]
 Reported By: [EMAIL PROTECTED]
-Status:      Open
+Status:      Verified
 Bug Type:    Documentation problem
 PHP Version: Irrelevant
 New Comment:

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.



Previous Comments:
------------------------------------------------------------------------

[2006-01-30 18:17:18] [EMAIL PROTECTED]

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

Reply via email to