nerdexam
Zend

200-710 · Question #141

Which of the following statements about Reflection are correct?

The correct answer is D. Built-in classes can be reflected on command line using php -rc <classname>. See the full explanation below for the reasoning.

Question

Which of the following statements about Reflection are correct?

Options

  • AReflection is an extension that can be disabled
  • BReflection is a new extension present only in PHP 7.0+
  • CReflection only allows to reflect on built-in classes
  • DBuilt-in classes can be reflected on command line using php -rc <classname>

How the community answered

(47 responses)
  • A
    6% (3)
  • B
    2% (1)
  • C
    13% (6)
  • D
    79% (37)

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice