Question:What is object cloning?
Answer Ans: It is difficult to copy an object, because all objects are treated as references rather than as values. If we try to copy a referenced object, it will simply point back to the addressing location of the original object. To remedy the problems with copying, PHP offers an explicit means for cloning an object is known as object cloning.
+ Report
What is object cloning?