Possible Duplicate:
PHP - and / or keywords
I saw several bits of PHP code using or
in a way I was unfamiliar with. For example:
fopen($site,"r") or die("Unable to connect to $site");
Is this equal to this ||
?
Why would you use this instead of a try catch
block? What will cause the program run the or die()
?