1
0
mirror of https://github.com/php/php-src.git synced 2026-04-11 18:13:00 +02:00
Files
archived-php-src/Zend/tests/exception_handler_004.phpt
Máté Kocsis 960318ed95 Change argument error message format
Closes GH-5211
2020-02-26 15:00:08 +01:00

16 lines
375 B
PHP

--TEST--
exception handler tests - 4
--FILE--
<?php
set_exception_handler("fo");
set_exception_handler(array("", ""));
echo "Done\n";
?>
--EXPECTF--
Warning: set_exception_handler(): Argument #1 ($exception_handler) must be a valid callback in %s on line %d
Warning: set_exception_handler(): Argument #1 ($exception_handler) must be a valid callback in %s on line %d
Done