sniper          Wed Jan 22 22:29:23 2003 EDT

  Added files:                 (Branch: PHP_4_3)
    /php4/tests/func    005a.phpt 
  Log:
  MFH: Added test for bug: #21513
  

Index: php4/tests/func/005a.phpt
+++ php4/tests/func/005a.phpt
--TEST--
Testing register_shutdown_function() with timeout. (Bug: #21513)
--POST--
--GET--
--FILE--
<?php

ini_set('display_errors', 0);
    
echo "Start\n";

function boo()
{
        echo "Shutdown\n";
}

register_shutdown_function("boo");

/* not necessary, just to show the error sooner */
set_time_limit(1); 

/* infinite loop to simulate long processing */
for (;;) {}

echo "End\n";

?>
--EXPECT--
Start
Shutdown



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to