I'm still on a PHP learning curb. When terminating a script, what is the difference between exit(), die(); and return;?:
exit()
die();
return;
Return returns a value. This can be anything and is meant for functions.
What are the differences in die() and exit() in PHP?
http://php.net/manual/en/function.return.php