#43060 [Opn]: Realpath issue with doesn't exist path

From: Date: Sun, 21 Oct 2007 13:36:28 +0000
Subject: #43060 [Opn]: Realpath issue with doesn't exist path
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-118779@lists.php.net to get a copy of this message
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

« previous php.bugs (#118779) next »