4 ms·
Ars, the point is that $var = $tom || 'ed'; is much less verbose than the alternatives. More generally, it's just strange to me that || and && don't operate th
by IsaacSchlueter 18y ago
Ars, the point is that $var = $tom || 'ed'; is much less verbose than the alternatives.
More generally, it's just strange to me that || and && don't operate the same in PHP as they do in every other C-style language. Neither does the ternary if, for that matter.