2.5 Copying vs Cloning Objects
Sometimes, it may be useful to create an object from a class and the copy it a couple of times. In that case, it’s good to know how PHP deals with copying. By default, objects are copied by reference, not by value. That’s all fine and dandy, but what does that mean, exactly?