in reply to
logical non-short-circuit operators
Is it too unwieldy without placeholder variables, like this?
if ($recFono->field_as_text(102) or $recFono->field_as_text(104)) {
something();
}
[download]
If so, can your data structure be more concise? Perhaps if ($Fono->text(102) or $Fono->text(104)) {
Otherwise, as moritz says.
Hmm... I need the variables inside the conditional's code. I was just hoping to avoid having to make the assignments outside of the conditional block (and hence outside of its local namespace).
A foolish day
Just another day
Internet cleaning day
The real first day of Spring
The real first day of Autumn
Wait a second, ... is this poll a joke?
Results (432 votes),
past polls