php-src/Zend/tests/exception_002.phpt
2018-10-14 12:07:20 -03:00

20 lines
141 B
PHP

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