#28716 [NEW]: [chm] bug on function.php-uname.html
| From: | devnull at latinmail dot com | Date: | Wed, 09 Jun 2004 19:24:37 +0000 |
| Subject: | #28716 [NEW]: [chm] bug on function.php-uname.html | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969361263@lists.php.net to get a copy of this message | ||
From: devnull at latinmail dot com
Operating system: windows
PHP version: 4.3.7
PHP Bug Type: Documentation problem
Bug description: [chm] bug on function.php-uname.html
Description:
------------
I have found a bug on page function.php-uname.html
[chm date: 2003-09-06]...
It seems that "Example 731. A few OS related constant examples" has a
problem. The "DIRECTORY_SEPARATOR" constant contains as its name
announces, "\" or "/", not ":" neither ";".
Reproduce code:
---------------
<?php
// *nix
echo DIRECTORY_SEPARATOR; // :
echo PHP_SHLIB_SUFFIX; // so
// Win*
echo DIRECTORY_SEPARATOR; // ;
echo PHP_SHLIB_SUFFIX; // dll
?>
Expected result:
----------------
;dll;dll
Actual result:
--------------
\dll\dll
--
Edit bug report at http://bugs.php.net/?id=28716&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28716&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28716&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28716&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28716&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28716&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28716&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28716&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28716&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28716&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28716&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28716&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28716&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28716&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28716&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28716&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28716&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28716&r=float