title: preg_grep isn't working on multidimensional arrays
body: <p>I've got an array of arrays called <code>$jsonvpr</code>. When trying to pull a <code>preg_grep</code> like <code>preg_grep("/Jake.*.Peavy/i", $jsonvpr)</code> it returns <code>Notice: Array to string conversion in /var/www/html/crawlnew.php on line 310</code> a bunch of times (I supose once per entry on the array) and it don't return anything. I suspect the problem is that there are not just arrays, but arrays of arrays, and that's why it isn't worked as I wanted, but I don't know how should I do. Please, anyone can point me on the right direction?</p>
  
  <p>A sample of how the array would be:</p>
  
  <pre><code>array(102) {
    [0]=&gt;
    array(8) {
      [0]=&gt;
      string(4) "Rank"
      [1]=&gt;
      string(6) "Player"
      [2]=&gt;
      string(13) "Games Started"
      [3]=&gt;
      string(16) "Excellent Starts"
      [4]=&gt;
      string(14) "Neutral Starts"
      [5]=&gt;
      string(11) "Poor Starts"
      [6]=&gt;
      string(12) "Volatility %"
      [7]=&gt;
      string(3) "VPR"
    }
    [1]=&gt;
    array(8) {
      [0]=&gt;
      string(0) ""
      [1]=&gt;
      string(73) "Clayton Kershaw"
      [2]=&gt;
      string(0) ""
      [3]=&gt;
      string(0) ""
      [4]=&gt;
      string(0) ""
      [5]=&gt;
      string(0) ""
      [6]=&gt;
      string(0) ""
      [7]=&gt;
      string(0) ""
    }
    [2]=&gt;
    array(8) {
      [0]=&gt;
      string(0) ""
      [1]=&gt;
      string(73) "Felix Hernandez"
      [2]=&gt;
      string(0) ""
      [3]=&gt;
      string(0) ""
      [4]=&gt;
      string(0) ""
      [5]=&gt;
      string(0) ""
      [6]=&gt;
      string(0) ""
      [7]=&gt;
      string(0) ""
    }
    [...]
  </code></pre>