Re: Assertions
| From: | Joe Watkins | Date: | Thu, 17 Oct 2013 12:40:35 +0000 |
| Subject: | Re: Assertions | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-69612@lists.php.net to get a copy of this message | ||
On 10/17/2013 01:36 PM, Michael Wallner wrote:
On 17 October 2013 14:31, Patrick Schaaf <php@bof.de> wrote: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 JoeHm seriously, optional (sort of) coredumps on fatals would be cool. AssertionExceptions have a stack trace ...However, I still continue to think that assertions should stayassertions,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!