--TEST-- substr_compare() --FILE-- --EXPECTF-- bool(true) int(0) int(0) int(0) int(1) int(-1) Warning: substr_compare(): The start position cannot exceed initial string length in %s on line %d bool(false) int(-1) int(0) Warning: substr_compare() expects parameter 5 to be boolean, object given in %s on line %d bool(false) Test Warning: substr_compare(): The length must be greater than or equal to zero in %s on line %d bool(false) int(0) Warning: substr_compare() expects parameter 4 to be long, string given in %s on line %d bool(false) Done