xref: /PHP-8.2/tests/lang/002.phpt (revision f8d79582)
1--TEST--
2Simple While Loop Test
3--FILE--
4<?php
5$a=1;
6while ($a<10) {
7    echo $a;
8    $a++;
9}
10?>
11--EXPECT--
12123456789
13