title: How to merge 2 arrays in php and getting no duplicate value
body: <p>I got 2 tables like these:</p>
  
  <pre><code>$array1 = (2, 7, 9, 15);
  $array2 = (3, 7, 10, 15);
  </code></pre>
  
  <p>I would like to get some kind of a mix of the 2 tables. Result has to be like:</p>
  
  <pre><code>$result = (2, 7, 9, 15, 3, 10);
  </code></pre>
  
  <p>Without any duplicate values.
  Thanks for your help.</p>