mirror of
https://github.com/php/php-src.git
synced 2024-12-12 11:23:53 +08:00
20 lines
144 B
PHP
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
|