|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-05-26 03:24 UTC] shangxiao@php.net
Description: ------------ The example in the manual on error handling "Examples" http://www.php.net/manual/en/errorfunc.examples.php shows that all errors can be handled in the error handler. However in the manual page for set_error_handler: The following error types cannot be handled with a user defined function: E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING, and most of E_STRICT raised in the file where set_error_handler() is called. Reproduce code: --------------- --- From manual page: errorfunc.examples --- PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 06 22:00:02 2026 UTC |
The comment mentions this: // in reality the only entries we should // consider are E_WARNING, E_NOTICE, E_USER_ERROR, // E_USER_WARNING and E_USER_NOTICE