title: Filter array of date strings using array_filter
body: <p>I have an array of date strings:</p>
  
  <pre><code>Array
  (
      [0] =&gt; 2014-03-24
      [1] =&gt; 2014-03-18
      [2] =&gt; 2014-06-08
      [3] =&gt; 2014-08-21
      [4] =&gt; 2014-09-11
  )
  </code></pre>
  
  <p>I'd like to use the array_filter function to filter out all the entries older than a specific month and year:</p>
  
  <pre><code>array_filter($array, "newer_than");
  
  function newer_than($var)
  {
      return (strtotime($var) &gt; CURRENT MONTH AND YEAR);
  }
  </code></pre>
  
  <p>Any help would be appreciated</p>
  
  <p>Thanks</p>