mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
28 lines
297 B
PHP
28 lines
297 B
PHP
--TEST--
|
|
jump 16: goto into try/catch
|
|
--FILE--
|
|
<?php
|
|
goto a;
|
|
try {
|
|
echo "1";
|
|
a:
|
|
echo "2";
|
|
throw new Exception();
|
|
} catch (Exception $e) {
|
|
echo "3";
|
|
}
|
|
echo "4";
|
|
goto b;
|
|
try {
|
|
echo "5";
|
|
throw new Exception();
|
|
} catch (Exception $e) {
|
|
echo "6";
|
|
b:
|
|
echo "7";
|
|
}
|
|
echo "8\n";
|
|
?>
|
|
--EXPECT--
|
|
23478
|