summaryrefslogtreecommitdiff
path: root/Zend/tests/jump02.phpt
blob: ff83bc4b937f7135613077239c58b6fd19838afd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--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