title: Checking whether each part of array as numeric
body: <p>I currently have an variable that contains the below array. Each part of the array is user submitted how would I go about checking whether each part of the array is an integer value and if it's not then dropping that part of the array?</p>
  
  <p>Array ( [0] => 3 [1] => 4 [2] => 17 [3] => 5 [4] => 6 [5] => 11 [6] => 7 [7] => 8 [8] => 9 [9] => 15 [10] => 16 [11] => 18 [12] => 10 [13] => 12 [14] => 13 [15] => 14 )</p>
  
  <p>I'm storing the array inside $forums and I've tried array_map("ctype_digit", $forums);</p>