title: PHP - combine multiple arrays (only occurrences of all arrays)
body: <p>Is there any php function that can return occurrences of all provided arrays (that are in all arrays)?</p>
  
  <p>Example:</p>
  
  <pre><code>$array1 = array(1, 2, 3);
  $array2 = array(1, 2, 4, 5, 6);
  $array3 = array(1, 2, 3, 4, 5);
  
  func_i_am_looking_for($array1, $array2, $array3);
  //retrun array(1, 2);
  </code></pre>