title: check multiple values using in_array in PHP
body: <p>I have a scenario as follows where I need to check value exists in array or not using in_array</p>
  
  <pre><code>$allRecordTypes =  array('new','newly','brandnew','branded');
  $tempRecordTypes = array('new','newly');
  $RecordType = in_array($tempRecordTypes,$allRecordTypes);
  </code></pre>
  
  <p>I'm sure that the above code is not correct, but I need to check whether the <code>$tempRecordTypes</code> need to be checked with <code>$allRecordTypes</code>.</p>