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.

 


Deprecated: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in D:\webserver\www\vcampusbd_com_https\answers\column_answer_two.php on line 128
+ Report
Total Preview: 764
What is object cloning?
Copyright © 2024. Powered by Intellect Software Ltd