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

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
035+ Fatal error: Uncaught TypeError: Argument 2 passed to usort() must be callable, string given in %s/usort_variation8.php:33
036+ Stack trace:
037+ #0 %s/usort_variation8.php(33): usort(Array, 'echo')
038+ #1 {main}
039+ thrown in %s/usort_variation8.php on line 33
035- Warning: usort() expects parameter 2 to be a valid callback, function 'echo' not found or invalid function name in %s on line %d
036- NULL
037-
038- -- Testing usort() with language construct as 'cmp_function' --
039-
040- Warning: usort() expects parameter 2 to be a valid callback, function 'exit' not found or invalid function name in %s on line %d
041- NULL
042- ===DONE===