title: The PHP function array_unique doesn't work
body: <p>I have an array in PHP and I want to remove duplicates.</p>
  
  <p>I simply turned to the function <code>array_unique()</code> to create a new array and remove the duplicates.</p>
  
  <p>Here's the code:</p>
  
  <pre><code>$unlink = array();
  $unlink = array_unique($linkphoto);
  
  foreach ($unlink as $link) {
      echo $link, "&lt;br /&gt;";
  }
  </code></pre>
  
  <p>Still it shows duplicates! Any suggestions about what's wrong?</p>