mirror of
https://github.com/php/php-src.git
synced 2024-12-24 01:09:58 +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
|