__clone() vs unserialize(serialize())?

mistered

New Member
With the reference of this question, I got an another solution isuse \[code\]$obj2 = unserialize(serialize($obj1));\[/code\]instead of \[code\]$obj2 = clone $obj1;\[/code\]Which one is better to use?
 
Top