Re: WARNING : PEAR_PackageFileManager2 and PHP5 (realpath function)

From: Date: Tue, 13 Nov 2007 18:45:49 +0000
Subject: Re: WARNING : PEAR_PackageFileManager2 and PHP5 (realpath function)
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-48451@lists.php.net to get a copy of this message
Carsten Wiedmann a écrit :
Laurent Laville schrieb:
Now I realize that the problem came from PHP 5 itself and realpath() function. I have not yet tested it under *Nix, but only on Windows platform (CLI or Apache module) Realpath of a directory gave me a trailing "\" with PHP 5.2.4 and even now with PHP 5.2.5, but not with PHP 4.4.7
Just to inform you: Since the current snaps of PHP5.2/5.3/6.0 (Windows), this have been changed back to the normal behaviour: Resulting paths have no trailing slash. BTW curious: This changed behaviour was only in realpath(), but not in DirectoryIterator::getRealPath(). Regards, Carsten Hi Carsten,
Thanks to take me aware of this situation. Probably a link for everyone to clarify bug (special thanks to author) http://bugs.php.net/bug.php?id=43248 Laurent

« previous php.pear.dev (#48451) next »