ID:               36425
 Updated by:       [EMAIL PROTECTED]
 Reported By:      chen dot daqi at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Unknown/Other Function
 Operating System: Linux
 PHP Version:      5.1.2
 New Comment:

Note: This is not a real function, but a language construct. 
http://php.net/exit


Previous Comments:
------------------------------------------------------------------------

[2006-02-17 10:31:56] chen dot daqi at gmail dot com

Description:
------------
register_shutdown_function can't recognize function "exit"

Reproduce code:
---------------
<?php
register_shutdown_function("exit", 1);
?>


Expected result:
----------------
Expect: Nothing will happen when these code being executed

Actual result:
--------------
Warning: register_shutdown_function(): Invalid shutdown callback 'exit'
passed in a.php on line 2



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36425&edit=1

Reply via email to