In runtime the log file contains the message I set to the argument of trigger_error. The page is blank after that ! Is it possible to continue code execution after trigger_error ?
In runtime the log file contains the message I set to the argument of
Share
No,
trigger_error()does not stop execution unless you pass the second argument asE_USER_ERROR. By default it triggers a warning. You must have an error at some point after the call.Trigger Warning:
Trigger Fatal Error: