Comment on I wish

original_reader@lemm.ee ⁨7⁩ ⁨months⁩ ago

Recently there was a thread trying to declare PHP obsolete.

Hard to beat this in efficiency:

function is_even($num) {
    return $num % 2 === 0;
}

That said, this should work in most languages.

source
Sort:hotnewtop