php-src/Zend/tests/exceptions/exception_handler/exit_exception_handler.phpt
DanielEScherzer babf7a32bf
Zend/tests: organize some tests with sub directories (10) (#17920)
Add directories for tests relating to
- halting the compiler
- `declare()` usage
- exception handlers
- `get_class_methods()`
- `get_class_vars()`
- `isset()`
- name collisions

As well as organizing a couple of tests into existing sub directories along the
way

Work towards GH-15631
2025-02-25 09:48:52 +00:00

14 lines
172 B
PHP

--TEST--
Exception handler should not be invoked for exit()
--FILE--
<?php
set_exception_handler(function($e) {
var_dump($e);
});
exit("Exit\n");
?>
--EXPECT--
Exit