title: PHP check if any array value is not a string or numeric?
body: <p>I have an array of values and I'd like to check that all values are either string or numeric. What is the most efficient way to do this?</p>
  
  <p>Currently I'm just checking for strings so I was just doing <code>if (array_filter($arr, 'is_string') ===  $arr)</code> which seems to be working.</p>