Thursday, 22 August 2013

Simplest way to trigger PHP shutdown

Simplest way to trigger PHP shutdown

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 test my custom error handling and
mailing functions under stress conditions.

No comments:

Post a Comment