ID: 43060
User updated by: julien at duponchelle dot info
-Summary: Realpath
Reported By: julien at duponchelle dot info
Status: Open
Bug Type: *General Issues
Operating System: Linux
PHP Version: 5.2.4
New Comment:
Improve bug summary
Previous Comments:
------------------------------------------------------------------------
[2007-10-21 13:31:54] julien at duponchelle dot info
Description:
------------
With this script:
<?php
var_dump(realpath("//../tata/tutu"));
?>
On PHP 5.2.3 i got:
bool(false)
On PHP 5.2.4 i got:
string(10) "/tata/tutu"
Documentation say "realpath() returns FALSE on failure, e.g. if the
file does not exist."
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43060&edit=1