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