Joined April 2013
·

Nicholas Acker

Developer
·
Florida
·
·
·

Posted to PHP logical operators as expressions over 1 year ago

Or you could just use a one-line if which is more clear and can fit just as well in templating.

if (!empty($array)) do_something();
Achievements
39 Karma
0 Total ProTip Views