Explain, are the objects passed by value or by reference?
Answer Posted / Chandra Shekhar Rajpoot
Objects in PHP are passed by reference by default. When a function receives an object as an argument, it gets a reference to the object, not a copy of the object.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers