mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
20 lines
150 B
PHP
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
|