Jump to content

or die


brentmoeller

Recommended Posts

The syntax of the first one is a little messed up.  But when used correctly, you can use "or die" in the same way as you would use an "if".  I would expect the same results when using either approach, but you need to invert the condition, because "or die" triggers on false, but "if" triggers on true.

Link to comment
https://forums.phpfreaks.com/topic/232123-or-die/#findComment-1194115
Share on other sites

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.