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

 ID:                 52517
 Comment by:         david at grudl dot com
 Reported by:        david at grudl dot com
 Summary:            E_COMPILE_WARNING is not
 Status:             Open
 Type:               Feature/Change Request
 Package:            Compile Warning
 PHP Version:        5.3.3
 Block user comment: N

 New Comment:

"run-time error" -> "runtime warning"


Previous Comments:
------------------------------------------------------------------------
[2010-08-02 18:51:39] david at grudl dot com

Description:
------------
E_COMPILE_WARNING is the only run-time error not catchable by
user-defined error handler function (via set_error_handler). I suggest
change this behavior. 

Test script:
---------------
<?php



declare(foo='bar'); // throws E_COMPILE_WARNING



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



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

Reply via email to