mirror of
https://github.com/php/php-src.git
synced 2024-12-14 20:33:36 +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
|