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

From: Date: Sun, 21 Oct 2007 15:28:11 +0000
Subject: #43060 [Opn->Fbk]: Realpath issue with doesn't exist path
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-118783@lists.php.net to get a copy of this message
ID: 43060 Updated by: iliaa@php.net Reported By: julien at duponchelle dot info -Status: Open +Status: Feedback Bug Type: *General Issues Operating System: Linux PHP Version: 5.2.4 New Comment: Works fine for me in latest CVS, do you have other settings like open_basedir/safe_mode or thread-safety enabled? Previous Comments: ------------------------------------------------------------------------ [2007-10-21 13:36:28] julien at duponchelle dot info Improve bug summary ------------------------------------------------------------------------ [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 (#118783) next »