title: Can we filter array values using like
body: <p>I have list of items for example, I want my in array to give me results both on
  $list1= ['apple', 'ball '];
  $list2= ['apple', 'ball'];</p>
  <p><code>in_array('ball',$list1)</code> its okay for second case but not working for first case because there is space after ball
  if return false I mean i don't want exact match but at least want this to skip spaces which are present in the array element list!</p>