Just for clarification: die is basically an alias for exit, which is a
construct of the language, not a function -
http://us2.php.net/manual/en/function.exit.php - so the parens are
optional.

The same is true for require/require_once/include/include_once - all
are language constructs and therefor have optional parens.

On Fri, May 27, 2011 at 11:53 AM, Michael Jones <[email protected]> wrote:
> Also, though it seems to execute fine, could it be that you are calling die;
> instead of die();? Or does PHP no longer require the () on function calls?



-- 
Joseph Scott
[email protected]
http://josephscott.org/

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to