nerdexam
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)
  • A
    10% (2)
  • B
    85% (17)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice