1--TEST--
2exception handler tests - 4
3--FILE--
4<?php
5
6set_exception_handler("fo");
7set_exception_handler(array("", ""));
8set_exception_handler();
9set_exception_handler("foo", "bar");
10
11echo "Done\n";
12?>
13--EXPECTF--
14Warning: set_exception_handler() expects the argument (fo) to be a valid callback in %s on line %d
15
16Warning: set_exception_handler() expects the argument (::) to be a valid callback in %s on line %d
17
18Warning: set_exception_handler() expects exactly 1 parameter, 0 given in %s on line %d
19
20Warning: set_exception_handler() expects exactly 1 parameter, 2 given in %s on line %d
21Done
22