title: Apply search on Multidimensional array in Laravel
body: <p>How can I search through multiple arrays. I am making custom search functionality for datatable. How can I do that?
  I am stuck how can I search and find amongst array and return the array.</p>
  
  <pre><code>$records = Array
  (
      [0] =&gt; Array
          (
              [0] =&gt; 28
              [1] =&gt; http://198.58.98.34:4600/uploads/item/priority_images-1519195620005Item1.png
              [2] =&gt; Currency
              [3] =&gt; Demo1
              [4] =&gt; Hello
              [5] =&gt; 980
              [6] =&gt; 2018-02-21T06:47:15.264Z
          )
  
      [1] =&gt; Array
          (
              [0] =&gt; 27
              [1] =&gt; http://198.58.98.34:4600/uploads/item/1519120091372-filewinter_is_here_game_of_thrones_hd-1920x1080.jpg
              [2] =&gt; coins212
              [3] =&gt; Demo2
              [4] =&gt; Hello1
              [5] =&gt; 54564
              [6] =&gt; 2018-02-21T06:38:04.053Z
          )
  );
  
  $search = $request['search']['value'];
  </code></pre>
  
  <p>I tried using <code>array_column</code> but it was not working.
  How Can I search and return the searched data.?</p>