nerdexam
Zend

200-710 · Question #66

200-710 Question #66: Real Exam Question with Answer & Explanation

The correct answer is B. false-true. See the full explanation below for the reasoning.

Question

class Bar { private $a = 'b'; public $c = 'd'; } $x = (array) new Bar(); echo array_key_exists('a', $x) ? 'true' : 'false'; echo '-'; echo array_key_exists('c', $x) ? 'true' : 'false';

Options

  • Afalse-false
  • Bfalse-true
  • Ctrue-false
  • Dtrue-true

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice