mirror of
https://github.com/php/php-src.git
synced 2026-03-29 03:32:20 +02:00
26 lines
300 B
PHP
26 lines
300 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
|