mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +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!
|