Zend
200-530 · Question #531
You run the following PHP script: <?php function calc() { $x=10; $b=++$x; Zend 200-530 Exam print($b); } ?> What will be the value of the variable b?
The correct answer is C. 11. See the full explanation below for the reasoning.
Question
You run the following PHP script: <?php function calc() { $x=10; $b=++$x; Zend 200-530 Exam print($b); } ?> What will be the value of the variable b?
Options
- A9
- BThe script will throw an error message.
- C11
- D10
How the community answered
(48 responses)- A15% (7)
- B2% (1)
- C75% (36)
- D8% (4)
Community Discussion
No community discussion yet for this question.