mirror of
https://github.com/php/php-src.git
synced 2026-04-28 10:43:30 +02:00
7eba683e2c
Occurred when exit() with uncaught exception in finally block.
14 lines
172 B
PHP
14 lines
172 B
PHP
--TEST--
|
|
Test exit with uncaught exception in finally block
|
|
--FILE--
|
|
<?php
|
|
try {
|
|
throw new Exception();
|
|
} finally {
|
|
echo "Done\n";
|
|
exit();
|
|
}
|
|
?>
|
|
--EXPECT--
|
|
Done
|