[PHP-DEV] Bug #10284: sttchr() function bug From: love_015b <email protected>
Date: 04/11/01

From: love_015b <email protected>
Operating system: linux(redhat6.2)
PHP version: 4.0.4pl1
PHP Bug Type: Unknown/Other Function
Bug description: sttchr() function bug

<?
$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.

-- 
Edit Bug report at: http://bugs.php.net/?id=10284&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>