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

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
016+ Fatal error: Uncaught TypeError: Argument 2 passed to uasort() must be callable, string given in %s/uasort_error.php:48
017+ Stack trace:
018+ #0 %s/uasort_error.php(48): uasort(Array, 'non_existent')
019+ #1 {main}
020+ thrown in %s/uasort_error.php on line 48
016- Warning: uasort() expects parameter 2 to be a valid callback, function 'non_existent' not found or invalid function name in %s on line %d
017- NULL
018- -- Testing uasort() function with non-existent compare function and extra argument --
019-
020- Warning: uasort() expects exactly 2 parameters, 3 given in %s on line %d
021- NULL
022- Done