Zend
200-530 · Question #435
Which of the following options shows the correct format of fetching class variables using the $this variable? Zend 200-530 Exam
The correct answer is B. $this->varname. See the full explanation below for the reasoning.
Question
Which of the following options shows the correct format of fetching class variables using the $this variable? Zend 200-530 Exam
Options
- A$this.$varname
- B$this->varname
- C$this->$varname
- D$this.varname
How the community answered
(20 responses)- A10% (2)
- B85% (17)
- D5% (1)
Community Discussion
No community discussion yet for this question.