test.php
author viric@llimona
Wed, 08 Nov 2006 22:43:00 +0100
changeset 9 e3ddfccc8d4f
parent 0 e269d7e3f581
permissions -rw-r--r--
Ported a change from the development version: no-cache to every php page.

<?
	function test($num)
	{
		for ($i=0; $i < $num; $i++)
			$array[$i+10] = chr(32+$i);
		return $array;
	}

	$a = test(50);
	reset($a);

	while(list($key,$val) = each($a))
	{
		echo "Element ". $key ." és \"" . $val . "\". <br>";
	}
?>