<html><body>
<?php

/* 
Reference-returning functions
The use of list
*/

//function f()
function &f()
{
	$a = array();
	$a[0] = 3;
	$a[1] = 4;
	return $a;
}

//$b = &f();
$b = f();

echo "b[0] = $b[0]<BR>";
echo "b[1] = $b[1]<BR>";	

list($c,$d) = f();
echo "$c, $d<P>";

?>
</body></html>
