php-src/Zend/tests/jump01.phpt
2012-10-10 10:27:49 +08:00

15 lines
136 B
PHP

--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