mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
724051e3bd
Adds extra condition that the rope var of INIT/ADD must match the one one END.
18 lines
237 B
PHP
18 lines
237 B
PHP
--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
|