1.

Which one of the following statements is true ?class CopyMe {}$first = new CopyMe();$second = $first;

A. In PHP 4: $second and $first are 2 distinct objects
B. In PHP 5: $second and $first are 2 distinct objects
C. In PHP 4: $second and $first refer to one object
D. None of the mentioned
Answer» B. In PHP 5: $second and $first are 2 distinct objects


Discussion

No Comment Found

Related MCQs