nerdexam
Zend

200-530 · Question #465

200-530 Question #465: Real Exam Question with Answer & Explanation

Sign in or unlock 200-530 to reveal the answer and full explanation for question #465. The question stem and answer options stay visible for context.

Question

You run the following PHP script: <?php class number { public $a= 10; public $b=20; private $c=30; } $numbers = new number(); foreach($numbers as $var => $value) { echo "$value "; } ?> What will be the output?

Options

  • A10 20 30
  • B10 20 0
  • CThe script will throw an error.
  • D10 20

Unlock 200-530 to see the answer

You've previewed enough free 200-530 questions. Unlock 200-530 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 200-530 Practice