Re: WARNING : PEAR_PackageFileManager2 and PHP5 (realpath function)

From: Date: Tue, 13 Nov 2007 15:35:45 +0000
Subject: Re: WARNING : PEAR_PackageFileManager2 and PHP5 (realpath function)
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-48450@lists.php.net to get a copy of this message
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

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