php-src/Zend/tests/jump01.phpt
2008-03-28 14:35:01 +00:00

15 lines
136 B
PHP
Executable File

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