mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
17 lines
147 B
PHP
17 lines
147 B
PHP
--TEST--
|
|
jump 02: goto forward
|
|
--FILE--
|
|
<?php
|
|
$n = 1;
|
|
L1:
|
|
if ($n > 3) goto L2;
|
|
echo "$n: ok\n";
|
|
$n++;
|
|
goto L1;
|
|
L2:
|
|
?>
|
|
--EXPECT--
|
|
1: ok
|
|
2: ok
|
|
3: ok
|