Needs work
Project:
Devel
Version:
7.x-1.x-dev
Component:
devel
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2011 at 16:22 UTC
Updated:
19 Feb 2019 at 23:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
salvisYes, definitely, but I'm not aware of any possibility to do that at the PHP level. Xdebug does it...
Let us know if you know more...
Comment #2
dave reidIt's very possible. Instead of set_error_handler() you use set_exception_handler().
Comment #3
salvisAh, yes, I was confused about http://php.net/manual/en/function.set-error-handler.php:
Comment #4
andrewbelcher commentedThis would be really handy - how about this as a patch to support it?
Comment #5
salvisA late thank you for your patch, andrewbelcher!
Too bad no one was interested in reviewing it in time...