Zend
200-530 · Question #39
200-530 Question #39: Real Exam Question with Answer & Explanation
The correct answer is B. 11. See the full explanation below for the reasoning.
Question
You run the following PHP script: <?php function calc() { $x=10; $b=++$x; print($b); } ?> What will be the value of the variable b?
Exhibit
Options
- AThe script will throw an error message.
- B11
- C9
- D10
Community Discussion
No community discussion yet for this question.
