ID: 40200 Updated by: [EMAIL PROTECTED] Reported By: iamstever at gmail dot com -Status: Assigned +Status: Closed Bug Type: Unknown/Other Function Operating System: Windows Vista PHP Version: 5.2.1RC3 Assigned To: dmitry New Comment:
Fixed in CVS HEAD and PHP_5_2. Previous Comments: ------------------------------------------------------------------------ [2007-01-23 15:11:24] [EMAIL PROTECTED] Confirmed: C:\phpbuilds\php_5_2>Debug_TS\php.exe -r " var_dump(realpath('foo.txt'));" bool(false) C:\phpbuilds\php_5_2>Debug\php.exe -r " var_dump(realpath('foo.txt'));" string(28) "C:\phpbuilds\php_5_2\foo.txt" ------------------------------------------------------------------------ [2007-01-22 21:37:45] iamstever at gmail dot com Description: ------------ The FastCgi version has different realpath results than thread safe version. If the file does not exist, realpath() returns false in Linux and Windows thread safe version, but returns the path to a non existent file in the Windows nts/FastCGI version. Expected result: ---------------- If the file does not exist, realpath() returns false in Linux and Windows thread safe version, but returns the path to a non existent file in the Windows nts/FastCGI version. Actual result: -------------- false ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40200&edit=1