mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
29 lines
159 B
PHP
29 lines
159 B
PHP
--TEST--
|
|
Testing GOTO inside blocks
|
|
--FILE--
|
|
<?php
|
|
|
|
goto A;
|
|
|
|
{
|
|
B:
|
|
goto C;
|
|
return;
|
|
}
|
|
|
|
A:
|
|
goto B;
|
|
|
|
|
|
|
|
{
|
|
C:
|
|
{
|
|
print "Done!\n";
|
|
}
|
|
}
|
|
|
|
?>
|
|
--EXPECT--
|
|
Done!
|