Question:

Are objects in PHP 5 passed by value or reference?

Answer:

This is basically a trick questions. To understand how they are passed you need to understand how objects are instantiated. Study the below link:

http://ca2.php.net/manual/en/language.oop5.references.php


Keywords:

© 2017 QuizBucket.org