dis-bench / src /php /php-src /tests /func /005.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
237 Bytes
--TEST--
Testing register_shutdown_function()
--FILE--
<?php
function foo()
{
print "foo";
}
register_shutdown_function("foo");
print "foo() will be called on shutdown...\n";
?>
--EXPECT--
foo() will be called on shutdown...
foo