<?php
function shutdown ()
{
// This is our shutdown function, in
// here we can do any last operations
// before the script is complete.
echo 'Script executed with success' , PHP_EOL ;
}
register_shutdown_function ( 'shutdown' );
function shutdown ()
{
// This is our shutdown function, in
// here we can do any last operations
// before the script is complete.
echo 'Script executed with success' , PHP_EOL ;
}
register_shutdown_function ( 'shutdown' );
?>
程序执行完毕后加载 函数 和方法。