|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-05-31 17:00 UTC] helly@php.net
[2003-05-31 21:15 UTC] philip@php.net
[2003-06-01 10:44 UTC] sniper@php.net
[2003-06-01 12:11 UTC] philip@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 18:00:01 2025 UTC |
register_shutdown_function() provides a warning instead of a fatal error when calling an undefined function. Not sure if this is intentional or not but here's a test script: <?php echo 'hello'; register_shutdown_function('do_not_exist'); ?> And next, the strange looking error. Same result for both Apache module and CLI: Hello Warning: Unknown(): Unable to call do_not_exist() - function does not exist in Unknown on line 0 A PHP5 CLI demonstrates this same error.