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