xref: /php-src/tests/lang/008.phpt (revision f8d79582)
1--TEST--
2Testing recursive function
3--FILE--
4<?php
5
6function Test()
7{
8    static $a=1;
9    echo "$a ";
10    $a++;
11    if($a<10): Test(); endif;
12}
13
14Test();
15
16?>
17--EXPECT--
181 2 3 4 5 6 7 8 9
19