PHP Deep Object Copy/Clone
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/185934/how-do-i-create-a-copy-of-an-object-in-php">How do I create a copy of an object in PHP?</a>  </p>
</blockquote>



<p>What is the best accepted way in PHP to perform a <strong>deep</strong> object copy/clone?</p>

<p>I have found some examples using serialize which i think suffers from some issues.</p>
