#14049 [Csd->Asn]: Inconsistent return in realpath
| From: | sniper@php.net | Date: | Thu, 21 Aug 2003 00:10:11 +0000 |
| Subject: | #14049 [Csd->Asn]: Inconsistent return in realpath | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-46364@lists.php.net to get a copy of this message | ||
ID: 14049
Updated by: sniper@php.net
Reported By: g dot noel at symphonieonline dot com
-Status: Closed
+Status: Assigned
Bug Type: *Directory/Filesystem functions
-Operating System: Windows / Linux
+Operating System: win32 only
-PHP Version: 4.0.6
+PHP Version: 4.3.3RC5-dev, 5.0.0b2-dev
-Assigned To:
+Assigned To: ilia
New Comment:
This is back, on windows, realpath() returns still any path, even if it
doesn't exist. (manual says it's supposed to return FALSE in such
case)
Previous Comments:
------------------------------------------------------------------------
[2002-06-04 16:21:58] mfischer@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2001-11-14 04:24:48] g dot noel at symphonieonline dot com
<?php
echo '['.realpath('./invalid/dir/or/file/name).']';
?>
On Windows : [c:\www\invalid\dir\or\file\name]
On Linux : []
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=14049&edit=1