Test: /ext/standard/tests/array/usort_error1.phpt - Version 7.0.16-dev    

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
005+ Fatal error: Uncaught TypeError: Argument 2 passed to usort() must be callable, string given in %s/usort_error1.php:18
006+ Stack trace:
007+ #0 %s/usort_error1.php(18): usort(Array, 'string_val', 10)
008+ #1 {main}
009+ thrown in %s/usort_error1.php on line 18
005- Warning: usort() expects exactly 2 parameters, 3 given in %s on line %d
006- NULL
007-
008- -- Testing usort() function with less than expected no. of arguments --
009-
010- Warning: usort() expects exactly 2 parameters, 1 given in %s on line %d
011- NULL
012- ===DONE===