Location: PHPKode > projects > phc > test/subjects/parsing/included_use_vars_in_function.php
<?php

	function j($j1, $j2)
	{
		global $i1;
		global $i2;
		echo $i1;
		echo $i2;

		echo $j1;
		echo $j2;

		if($i1 != "some value" and $i2 != "another value")
		{
			fail(__FILE__, __LINE__, "using variables in included function");
		}

		return 6;
	}


?>
Return current item: phc