#28716 [Opn->Bgs]: [chm] bug on function.php-uname.html

From: Date: Wed, 09 Jun 2004 20:27:45 +0000
Subject: #28716 [Opn->Bgs]: [chm] bug on function.php-uname.html
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969361264@lists.php.net to get a copy of this message
ID: 28716 Updated by: nlopess@php.net 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

« previous php.doc (#969361264) next »