[2011年02月17日 00:44 UTC] tyra3l at gmail dot com
Description: ------------ my co-worker had a problem with the Zend Framework Soap Server class: he was using trigger_error for handling the application level errors, and the ZF Soap Server class set his own error_handler, so my co-worker's error handler was swapped out, and his E_USER_WARNING/E_USER_ERROR errors was ignored (if you have an userspace error handler then every error type, which isn't observed will be discarded) I mentioned this on twitter (I wasn't really nice) http://twitter.com/#!/Tyr43l/status/22704699030 and Matthew Weier O'Phinney responded that they had to do this, because there was some quirks about the SoapServer or DomDocument class. so if they don't set their error_handler, they can't handle the error, if they do, they will overwrite any existing error_handler. if there would be a way, to get the current(previous) error handler, then they could have save the current/previous error handler (with the error type parameter!) and from their error handler, they could have call the applevel error handler callback. of course, some stackable mechanism, like the spl_autoload would be a more better approach but that would break BC, at least I couldn't figure out a way to do it without problems. I will ask Matthew to comment on this issue (what was the exact problem that forced them to set the error handler at the first place) PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2011年02月17日 00:50 UTC] rasmus@php.net
-Status: Open
+Status: Bogus
[2011年02月17日 00:50 UTC] rasmus@php.net
[2011年02月17日 01:04 UTC] tyra3l at gmail dot com
[2011年02月17日 01:41 UTC] rasmus@php.net
-Status: Bogus
+Status: Re-Opened
[2011年02月18日 11:45 UTC] tyra3l at gmail dot com
[2012年03月18日 16:41 UTC] tyra3l at gmail dot com
[2012年03月18日 16:41 UTC] tyra3l at gmail dot com
-Status: Re-Opened
+Status: Closed
[2012年03月18日 16:41 UTC] tyra3l at gmail dot com
[2012年03月18日 16:41 UTC] tyra3l at gmail dot com
-Status: Closed
+Status: Assigned
[2012年03月18日 16:46 UTC] tyrael@php.net
-Status: Assigned
+Status: Open
[2012年03月18日 16:46 UTC] tyrael@php.net
[2012年08月25日 14:16 UTC] matthew dot bonner at gmail dot com
[2012年08月25日 14:23 UTC] matthew dot bonner at gmail dot com
[2012年08月25日 14:42 UTC] matthew dot bonner at gmail dot com
[2014年12月30日 18:37 UTC] tyrael@php.net
-PHP Version: 5.3.5
+PHP Version: 7.0
-Assigned To:
+Assigned To: tyrael
[2014年12月30日 18:38 UTC] tyrael@php.net
[2017年10月24日 08:14 UTC] kalle@php.net
-Status: Assigned
+Status: Open
-Assigned To: tyrael
+Assigned To:
|