php-src/tests/func/005.phpt
2003-01-24 05:56:55 +00:00

20 lines
236 B
PHP

--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