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