Giorgio Sironi05/15/13
1456 views
0 replies
Cloning is an operation consisting in the duplication of a data structure, usually to avoid the aliasing problem of having different code modify the same instance in inconsistent ways.
In PHP, cloning can be accomplished in multiple ways - and in some cases it can be avoided altogether.