On 10/17/2013 01:36 PM, Michael Wallner wrote:
On 17 October 2013 14:31, Patrick Schaaf <
[email protected]> wrote:
However, I still continue to think that assertions should stay
assertions,
aka : run time fatal errors when enabled.
Yes! And Coredump! And a debugger that lets me load that later +
examine stack and all other state!
Hm seriously, optional (sort of) coredumps on fatals would be cool.
AssertionExceptions have a stack trace ...
Obviously, coredumps don't make a whole lot of sense for PHP programmers, but I guess you knew that, which is why you say sort of ...
Being that ZEND_ASSRT is an opcode, xdebug could override it and provide the functionality you want from failed assertions, it is out of the scope of core I think ...
Cheers
Joe