title: How to find specific value from multiple arrays in php?
body: <p>How to find specific value from multiple arrays in php?</p>
  
  <pre><code>Array ( [0] =&gt; 1 [1] =&gt; 2 )
  Array ( [0] =&gt; 1 [1] =&gt; 2 [2] =&gt; 3 )
  Array ( [0] =&gt; 1 [1] =&gt; 2 [2] =&gt; 3 [3] =&gt; 4 [4] =&gt; 7 [5] =&gt; 8 [6] =&gt; 22 )
  Array ( [0] =&gt; 1 [1] =&gt; 2 )
  Array ( [0] =&gt; 1 [1] =&gt; 2 [2] =&gt; 3 )   
  </code></pre>
  
  <p>this is my code </p>
  
  <pre><code>                 &lt;?php if(is_array("22", $parentCategories)) :  ?&gt;
  
  
                    &lt;?php  echo "Get"; 
  
                    else : 
  
                      echo "Not get";
  
                    endif; exit();
                    ?&gt;
  </code></pre>
  
  <p>i have these arrays but i only want to find value 22 in filter. i am already using in_array but it only check last array values not others</p>