crash - How to intentionally cause a fatal error in PHP script? -


i want script stop being executed @ point of crash, while not exhaust memory or otherwise crash server.

any idea how that?

i believe you're looking for:

trigger_error("oops!", e_user_error); 

docs: http://php.net/manual/en/function.trigger-error.php

e_user_error pretty equal e_error, fatal runtime error.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -