die() function

Is there anyway for me to decide where the die message should be printet?

What are you trying to do with it?

I like to use the DIE to help debugging as well as when there have been unrecoverable errors.

It will HALT the execution whenever it’s reached in a script.

Sponsor our Newsletter | Privacy Policy | Terms of Service