php-src/Zend/tests/exception_002.phpt
2008-05-11 03:50:28 +00:00

20 lines
144 B
PHP

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