Location: PHPKode > projects > phc > test/subjects/codegen/dont_shred_the_ref4.php
<?php

	// This adds nothing to $x. If we add a
	// temporary with a reference, we get
	// wrong code (a NULL gets added to $x)

	function foo ($y)
	{
	}
	
	$x = array ();
	foo ($x[0]);
	var_dump($x);
?>
Return current item: phc