--TEST-- Test strrpos() function : usage variations - checking binary safe with 'needle' argument --FILE-- --EXPECTF-- *** Test strrpos() function: binary safe *** int(1) int(1) int(0) bool(false) int(12) int(12) bool(false) Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d bool(false) bool(false) Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d bool(false) int(0) bool(false) int(1) bool(false) *** Done ***