#44843 [Opn->Csd]: Example error
| From: | felipe@php.net | Date: | Sat, 26 Apr 2008 22:17:33 +0000 |
| Subject: | #44843 [Opn->Csd]: Example error | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-752@lists.php.net to get a copy of this message | ||
ID: 44843
Updated by: felipe@php.net
Reported By: pablo at gundari dot net
-Status: Open
+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:
------------------------------------------------------------------------
[2008-04-26 18:50:59] pablo at gundari dot net
Description:
------------
Just a little correction, Example #1 (of
reserved.variables.environment.php manual page) would't proceduce any
output because the "user" enviroment variable must be "USER".
So the example must be:
<?php
echo 'My username is ' .$_ENV["USER"] . '!';
?>
Expected result:
----------------
Print: My username is SOMEUSER!
Actual result:
--------------
Print: My username is !
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44843&edit=1