Perhaps an easier way to understand what $var %2 == 0
does
Expand the code out to:
$remainder = $var % 2;
if ($remainder == 0)
Perhaps an easier way to understand what $var %2 == 0
does
Expand the code out to:
$remainder = $var % 2;
if ($remainder == 0)