Home
last modified time | relevance | path

Searched refs:register_shutdown_function (Results 1 – 25 of 56) sorted by relevance

123

/PHP-7.4/ext/standard/tests/general_functions/
H A Dbug32647.phpt2 Bug #32647 (Using register_shutdown_function() with invalid callback can crash PHP)
18 register_shutdown_function(array($obj,"")); // Invalid
19 register_shutdown_function(array($obj,"some string")); // Invalid
20 register_shutdown_function(array(0,"")); // Invalid
21 register_shutdown_function(array('bar','foo')); // Invalid
22 register_shutdown_function(array(0,"some string")); // Invalid
23 register_shutdown_function('bar'); // Invalid
24 register_shutdown_function('foo'); // Valid
25 register_shutdown_function(array('bar','barfoo')); // Invalid
28 register_shutdown_function(array($obj,'foobar')); // Invalid
[all …]
H A Dbug71891.phpt2 Bug #71891 (header_register_callback() and register_shutdown_function())
8 register_shutdown_function(function () {
H A Dclosures_001.phpt2 register_shutdown_function() & closure
5 register_shutdown_function(function () { echo "Hello World!\n"; });
H A D010.phpt2 register_shutdown_function() & __call
15 var_dump(register_shutdown_function(array("test","__call")));
H A Dbug70249.phpt8 register_shutdown_function(function () {
13 register_shutdown_function([$this, 'flush'], true);
/PHP-7.4/Zend/tests/
H A Dbug51827.phpt2 Bug #51827 (Bad warning when register_shutdown_function called with wrong num of parameters)
11 register_shutdown_function('timE');
12 register_shutdown_function('ABC');
13 register_shutdown_function('exploDe');
H A Dbug62763.phpt2 Bug #62763 (register_shutdown_function and extending class)
7 register_shutdown_function(array($this, 'shutdown'));
H A Dlsb_010.phpt23 register_shutdown_function(array('Foo', 'bar'));
24 register_shutdown_function(array('FooChild', 'bar'));
H A Dobject_gc_in_shutdown.phpt6 register_shutdown_function(function () {
H A Dbug78396.phpt6 register_shutdown_function(function () {
H A Dbug20240.phpt12 register_shutdown_function(array($this, 'destructor'));
H A Dbug41026.phpt10 register_shutdown_function (array ("self", "on_shutdown"));
H A Dbug76846.phpt15 register_shutdown_function(function() {
H A Dbug55007.phpt16 register_shutdown_function('shutdown');
H A Dbug60909_2.phpt5 register_shutdown_function(function(){echo("\n\n!!!shutdown!!!\n\n");});
H A Dbug60909_1.phpt5 register_shutdown_function(function(){echo("\n\n!!!shutdown!!!\n\n");});
/PHP-7.4/tests/func/
H A D005.phpt2 Testing register_shutdown_function()
11 register_shutdown_function("foo");
H A D005a.phpt2 Testing register_shutdown_function() with timeout. (Bug: #21513)
19 register_shutdown_function("boo");
/PHP-7.4/tests/basic/
H A Dtimeout_variation_9.phpt14 register_shutdown_function("sleep", 1);
15 register_shutdown_function("sleep", 1);
H A Dtimeout_variation_10.phpt15 register_shutdown_function("sleep", 1);
16 register_shutdown_function("sleep", 1);
/PHP-7.4/tests/lang/
H A D045.phpt2 Timeout again inside register_shutdown_function
13 register_shutdown_function("plop");
/PHP-7.4/ext/opcache/tests/
H A Dpreload_bug78175.inc2 register_shutdown_function(function() {
/PHP-7.4/ext/session/tests/
H A Dsession_set_save_handler_class_010.phpt14 … bool session_set_save_handler(SessionHandler $handler [, bool $register_shutdown_function = true])
48 register_shutdown_function(array($handler, 'finish'));
H A Dsession_set_save_handler_class_015.phpt14 … bool session_set_save_handler(SessionHandler $handler [, bool $register_shutdown_function = true])
H A Dsession_set_save_handler_class_004.phpt14 … bool session_set_save_handler(SessionHandler $handler [, bool $register_shutdown_function = true])

Completed in 20 milliseconds

123