Re:Why 1 && 2 == 2
by k3n on Friday July 19, 2013 @11:23AM
(#6070739)
Meh, it's not more unreadable unless you have issues understanding || in the first place... and "or" is still a boolean operation.
Considering 99.9% of it's use in PHP is some variant of "connect() or die()", I stand by my statement. Besides, those "connect() or die()" expressions are widely considered bad-practice in the first place.
Considering 99.9% of it's use in PHP is some variant of "connect() or die()", I stand by my statement. Besides, those "connect() or die()" expressions are widely considered bad-practice in the first place.