mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
20 lines
141 B
PHP
20 lines
141 B
PHP
--TEST--
|
|
Testing exception and GOTO
|
|
--FILE--
|
|
<?php
|
|
|
|
goto foo;
|
|
|
|
try {
|
|
print 1;
|
|
|
|
foo:
|
|
print 2;
|
|
} catch (Exception $e) {
|
|
|
|
}
|
|
|
|
?>
|
|
--EXPECT--
|
|
2
|