Jump to content

what is the difference between die and exit in php?


Xu Wei Jie

Recommended Posts

Apparently they did

 

Another very important construct is die(), which is itself an alias of exit(). It allows

you to terminate the script’s output and either output a string or return a numeric

status to the process that called the script.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.