ID: 28716 Updated by: [EMAIL PROTECTED] Reported By: devnull at latinmail dot com -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: windows PHP Version: 4.3.7 New Comment:
I've already solved this problem a while ago. It will be fixed in the next CHM build. In the meantime, take a look at: http://php.net/php-uname Previous Comments: ------------------------------------------------------------------------ [2004-06-09 21:24:37] devnull at latinmail dot com 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 this bug report at http://bugs.php.net/?id=28716&edit=1