|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-02-09 17:46 UTC] torben@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 23:00:01 2025 UTC |
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>";