--TEST-- Test strrchr() function : usage variations - binary safe --FILE-- --EXPECTF-- *** Test strrchr() function: binary safe *** string(6) "World" string(6) "World" string(12) "Hello World" string(12) "Hello World" string(1) "" string(1) "" string(1) "" string(1) "" string(6) "world" string(6) "world" string(6) "Hello" string(6) "Hello" string(1) "" string(1) "" *** Done *** --UEXPECTF-- *** Test strrchr() function: binary safe *** unicode(6) "World" unicode(6) "World" unicode(12) "Hello World" unicode(12) "Hello World" unicode(1) "" unicode(1) "" unicode(1) "" unicode(1) "" unicode(6) "world" unicode(6) "world" unicode(6) "Hello" unicode(6) "Hello" unicode(1) "" unicode(1) "" *** Done ***