Friday, 27 September 2013

PHP "or" syntax statement

PHP "or" syntax statement

Moving over to PHP from another language and still getting used to the
syntax...
What's the proper way to write this statement? The manual on logical
operators leaves something to be desired..
if($var !== '5283180' or '1234567')

No comments:

Post a Comment