#42778 [Opn->Bgs]: realpath() adds trailing slash

From: Date: Tue, 02 Oct 2007 09:33:24 +0000
Subject: #42778 [Opn->Bgs]: realpath() adds trailing slash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-118055@lists.php.net to get a copy of this message
ID: 42778 Updated by: tony2001@php.net Reported By: k dot bizuns at inbox dot lv -Status: Open +Status: Bogus Bug Type: *Directory/Filesystem functions Operating System: Windows PHP Version: 5.2.4 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2007-09-27 13:49:50] k dot bizuns at inbox dot lv Description: ------------ <?php echo realpath( './' ) ; ?> This code in PHP 5.2.4 gives an output with trailing slash (example: C:\www\) PHP 5.2.3 not (example: C:\www). Who is right? Tested on WinXP. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42778&edit=1

« previous php.bugs (#118055) next »