mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00

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
14 lines
172 B
PHP
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
|