Bug #10284 Updated: sttchr() function bug

From: Date: Wed, 11 Apr 2001 17:59:00 +0000
Subject: Bug #10284 Updated: sttchr() function bug
Groups: php.dev 
Request: Send a blank email to php-dev+get-51455@lists.php.net to get a copy of this message
ID: 10284 Updated by: joey Reported By: love_015b@hanmail.net Old-Status: Open Status: Closed Bug Type: Unknown/Other Function PHP Version: 4.0.4pl1 Assigned To: Comments: Please try reading the manual before submitting bugs. http://us.php.net/manual/en/function.strrchr.php clearly says "If needle contains more than one character, the first is used." Not a bug. Previous Comments: --------------------------------------------------------------------------- [2001-04-11 06:40:33] love_015b@hanmail.net <? $k="%C5%DA%B7%B9%C5%E4%BA%F1%C5%DA%B7%B9%C5%E4%BA%F1"; $q="%C5%DA"; $b=strrchr($k,$q); echo $k."<br>"; echo $q."<br>"; echo $b; ?> ///////result////////// %C5%DA%B7%B9%C5%E4%BA%F1%C5%DA%B7%B9%C5%E4%BA%F1 %C5%DA %F1 I want this result,"%C5%DA%B7%B9%C5%E4%BA%F1" Maybe it is function's bug. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10284&edit=2

« previous php.dev (#51455) next »