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

	register_shutdown_function ("shut");

	$x = false;
	function shut ()
	{
		echo "shutdown function called\n";
		global $x;
		echo "this is a later reference to the die paramter to check it wasnt altered".$x."\n";
	}

	die ($x);

?>
Return current item: phc