ID:               22884
 Updated by:       [EMAIL PROTECTED]
 Reported By:      sebastien at mouzaia dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Unknown/Other Function
 Operating System: linux
 PHP Version:      4.3.1
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

See http://www.php.net/manual/en/function.strrchr.php.

As described in the documentation, strrchr() doesn't work in the
opposite way of strchr().



Previous Comments:
------------------------------------------------------------------------

[2003-03-25 17:49:59] sebastien at mouzaia dot com

<?
print(phpversion().'<br>');
$string = "public_html/concepts/2L_vuda_dupont/wip/drawings";
$return = strrchr($string,'wip/');
print($return.'<br>'); // print wings WHY ???
print("<hr>");
$string = "public_html/concepts/2L_vuda_dupont/wip/drazings";
$return = strrchr($string,'wip/'); // print /wip/drazings(OK)
print($return.'<br>')
// tested on a 4.3.1 linux and on a 4.3.0 windows
?>



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=22884&edit=1

Reply via email to