Is there a simple way to trigger PHP shutdown so that error_get_last function returns a real error from within a function registered with register_shutdown_function. I need it to test my custom error handling and mailing functions under stress conditions.
- Division by 0 perhaps? :)deceze– deceze ♦2013-08-22 09:03:43 +00:00Commented Aug 22, 2013 at 9:03
- 1@deceze It's not FORTRAN :PDesmond Hume– Desmond Hume2013-08-22 09:11:43 +00:00Commented Aug 22, 2013 at 9:11
Add a comment |