summaryrefslogtreecommitdiff
path: root/Zend/tests/jump01.phpt
blob: 87dba88baf0b038725503d49c55d7c1bf2520a37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
jump 01: goto backward
--FILE--
<?php
$n = 1;
L1:
echo "$n: ok\n";
$n++;
if ($n <= 3) goto L1;
?>
--EXPECT--
1: ok
2: ok
3: ok