3 ideias sobre “É ímpar ou par? Confira facilmente usando o PHP

  1. Interessante, diferente, mas não acho muito legivel. Prefiro o bom e velho
    $status($number % 2 ==0) ? “Par” : “Impar”;

    hehhee
    abraços!