Which is the problem with the following code using PHP5?

  1. Object attributes are not of any specific data type

  2. The constructor of the class is not correctly defined

  3. You cannot put an equal when recieving a parameter in the constructor

  4. The word function is missing before the class constructor


Correct Option: D

Find more quizzes: