php-src/Zend/tests/exception_002.phpt
2020-02-03 22:52:20 +01:00

20 lines
150 B
PHP

--TEST--
Testing exception and GOTO
--FILE--
<?php
goto foo;
try {
print 1;
foo:
print 2;
} catch (Exception $e) {
}
?>
--EXPECT--
2