ID: 10284
Updated by: joey
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
<?
$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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to