--TEST-- Test strrchr() function : usage variations - binary safe --FILE-- --EXPECTF-- *** Test strrchr() function: binary safe *** string(6) "World" Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d string(6) "World" string(12) "Hello World" Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d string(12) "Hello World" string(1) "" Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d string(1) "" string(1) "" Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d string(1) "" string(6) "world" Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d string(6) "world" string(6) "Hello" Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d string(6) "Hello" string(1) "" Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d string(1) "" *** Done ***