PHP 4.0 Bug #9780: realpath doesn't return trailing slash

From: Date: Fri, 16 Mar 2001 10:19:36 +0000
Subject: PHP 4.0 Bug #9780: realpath doesn't return trailing slash
Groups: php.dev 
Request: Send a blank email to php-dev+get-49049@lists.php.net to get a copy of this message
From: fabiankessler@usa.net Operating system: winnt 4.0 PHP version: 4.0.4 PHP Bug Type: Directory function related Bug description: realpath doesn't return trailing slash echo dirname(realpath("f:/dir 790/asdf/")); this prints out "f:\dir 790" and when you do dirname() on this again, well, ... the problem is that realpath doesn't return the trailing slash so everything else treats asdf as a file fab -- Edit Bug report at: http://bugs.php.net/?id=9780&edit=1

« previous php.dev (#49049) next »