summaryrefslogtreecommitdiff
path: root/Zend/tests/exit_exception_handler.phpt
blob: eabd0fb906e8ab5b2051025c2e01712bbd858e8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Exception handler should not be invoked for exit()
--FILE--
<?php

set_exception_handler(function($e) {
    var_dump($e);
});

exit("Exit\n");

?>
--EXPECT--
Exit