Test: /Zend/tests/exception_handler_004.phpt - Version 7.0.16-dev    

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
001+ Fatal error: Uncaught TypeError: Argument 1 passed to set_exception_handler() must be callable, string given in %s/exception_handler_004.php:3
002+ Stack trace:
003+ #0 %s/exception_handler_004.php(3): set_exception_handler('fo')
004+ #1 {main}
005+ thrown in %s/exception_handler_004.php on line 3
001- Warning: set_exception_handler() expects the argument (fo) to be a valid callback in %s on line %d
002-
003- Warning: set_exception_handler() expects the argument (::) to be a valid callback in %s on line %d
004-
005- Warning: set_exception_handler() expects exactly 1 parameter, 0 given in %s on line %d
006-
007- Warning: set_exception_handler() expects exactly 1 parameter, 2 given in %s on line %d
008- Done