Per vedere se un numero è pari:
Codice PHP:
if ($numero == 0) {
  
// è pari