Current class instance in PHP

Multiple choice question

Which keyword is used to refer to the current instance of a class?

wrong

PHP is not object orient.

wrong

Me.

wrong

$Me.

correct

$this.

Feedback: Object orient is supported starting PHP5. The $this keyword is used to refer to the current instance of a class.

Feedback:

0
Your rating: None
This question is part of the following quizzes