mirror of
https://github.com/php/php-src.git
synced 2024-10-17 14:32:37 +00:00
20 lines
144 B
Plaintext
20 lines
144 B
Plaintext
|
--TEST--
|
||
|
Testing exception and GOTO
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
goto foo;
|
||
|
|
||
|
try {
|
||
|
print 1;
|
||
|
|
||
|
foo:
|
||
|
print 2;
|
||
|
} catch (Exception $e) {
|
||
|
|
||
|
}
|
||
|
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
2
|