mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
f66f55edc5
[DOC]
26 lines
312 B
PHP
26 lines
312 B
PHP
--TEST--
|
|
jump 10: goto with try blocks
|
|
--FILE--
|
|
<?php
|
|
goto a;
|
|
e: return;
|
|
try {
|
|
a: print 1;
|
|
goto b;
|
|
try {
|
|
b: print 2;
|
|
goto c;
|
|
}
|
|
catch(Exception $e) {
|
|
c: print 3;
|
|
goto d;
|
|
}
|
|
}
|
|
catch(Exception $e) {
|
|
d: print 4;
|
|
goto e;
|
|
}
|
|
?>
|
|
--EXPECT--
|
|
1234
|