dis-bench / src /php /php-src /tests /lang /008.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
188 Bytes
--TEST--
Testing recursive function
--FILE--
<?php
function Test()
{
static $a=1;
echo "$a ";
$a++;
if($a<10): Test(); endif;
}
Test();
?>
--EXPECT--
1 2 3 4 5 6 7 8 9