<html><body>
<?php

/*
Making arrays pass by reference
*/

function f(&$a) /* Note the ampersand before the parameter */
{
	$a[0] = "207";
	$a[1] = "107";
}

$a=array("CSIT207", "CSIT107");
f($a);
echo "After calling the function and modifying the array:<BR>\n";
echo "$a[0], $a[1]<BR>\n";

?>
</body></html>
