summaryrefslogtreecommitdiff
path: root/Zend/tests/exception_handler_004.phpt
blob: e4684e942dd9fa44ac685aaa2dac3bc0e4dc8d14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
exception handler tests - 4
--FILE--
<?php

set_exception_handler("fo");
set_exception_handler(array("", ""));

echo "Done\n";
?>
--EXPECTF--
Warning: set_exception_handler() expects argument #1 ($exception_handler) to be a valid callback in %s on line %d

Warning: set_exception_handler() expects argument #1 ($exception_handler) to be a valid callback in %s on line %d
Done