#44843 [NEW]: Example error
| From: | pablo at gundari dot net | Date: | Sat, 26 Apr 2008 18:50:59 +0000 |
| Subject: | #44843 [NEW]: Example error | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-751@lists.php.net to get a copy of this message | ||
From: pablo at gundari dot net
Operating system:
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: Example error
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 bug report at http://bugs.php.net/?id=44843&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44843&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44843&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44843&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=44843&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=44843&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=44843&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=44843&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=44843&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=44843&r=support
Expected behavior: http://bugs.php.net/fix.php?id=44843&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=44843&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=44843&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=44843&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44843&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=44843&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=44843&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=44843&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=44843&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=44843&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=44843&r=mysqlcfg