0
0
mirror of https://github.com/php/php-src.git synced 2024-12-19 06:50:17 +08:00
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