#36425 [Opn->Bgs]: register_shutdown_function can't recognize function "exit"
| From: | tony2001@php.net | Date: | Fri, 17 Feb 2006 09:40:37 +0000 |
| Subject: | #36425 [Opn->Bgs]: register_shutdown_function can't recognize function "exit" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-93368@lists.php.net to get a copy of this message | ||
ID: 36425
Updated by: tony2001@php.net
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