ID: 15234 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Filesystem function related Operating System: Linux Mandrake 8.0 PHP Version: 4.1.1 New Comment:
This bug has been fixed in CVS. Previous Comments: ------------------------------------------------------------------------ [2002-01-26 11:16:36] [EMAIL PROTECTED] This code $a = "/74.html"; $url = $a; echo $url, "<BR>"; echo basename($url, ".html"), "<BR>"; echo "$a<BR>$url<BR>"; corrupts $a and $url both. Compare it with: $a = "/74.html"; $url = $a; echo $url, "<BR>"; echo basename("$url", ".html"), "<BR>"; echo "$a<BR>$url<BR>"; ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15234&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php