php-src/tests/func/005.phpt
2020-02-03 22:52:20 +01:00

19 lines
237 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