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

	// if the error exits improperly, the shutdown function wont be called.
	register_shutdown_function ("shut");

	function shut ()
	{
		echo "shutdown function called\n";
	}

	// trigger an undefined function error
	f ();

?>
Return current item: phc