mirror of
https://github.com/php/php-src.git
synced 2024-09-28 21:36:12 +00:00
18 lines
235 B
Plaintext
18 lines
235 B
Plaintext
|
--TEST--
|
||
|
Exception during rope finalization
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
set_error_handler(function() { throw new Exception; });
|
||
|
|
||
|
try {
|
||
|
$b = "foo";
|
||
|
$str = "y$b$a";
|
||
|
} catch (Exception $e) {
|
||
|
echo "Exception\n";
|
||
|
}
|
||
|
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
Exception
|