| Viewed 111 times

How I should check if Number of Even or Odd in PHP?


I need a function that takes in an array of integers returns the number of even or odd digits for each number, depending on the parameter.

PHP