ID: 36213 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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] [EMAIL PROTECTED] 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] [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