title: How to remove duplicate values in two arrays?
body: <p>I dispose of two arrays with the following contents:</p>
  
  <pre><code>$arr1 = "one", "two", "three";
  $arr2 = "one", "two";
  </code></pre>
  
  <p>I want to make sure to return an array containing only the value <strong>"three"</strong>;
  In my applications in fact the values of <code>$arr1</code> represent the link to be included in a table, those of <code>$arr2</code> links already entered.
  I tried using the function intersect but this returns the values that are duplicates, but I want to discard the duplicates and take only the values that are not present in <code>$arr2</code>;</p>
  
  <pre><code>$c = array_intersect($arr1, $arr2);
  </code></pre>