Zend
200-530 · Question #519
200-530 Question #519: Real Exam Question with Answer & Explanation
Sign in or unlock 200-530 to reveal the answer and full explanation for question #519. The question stem and answer options stay visible for context.
Question
Consider the following PHP script: 1. <?php 2. $a = 5; 3. $b = 10; 4. function Mul() 5. { 6. ********************** 7. } 8. Mul(); 9. print($b); 10. ?> What can you write instead of ****** on line 6 to get the output 50? Each correct answer represents a complete solution. Choose all that apply.
Options
- A$b = $a * $b;
- B$GLOBALS['b'] = $GLOBALS['a'] * $GLOBALS['b'];
- Cglobals($b = $a * $b);
- Dglobal $a, $b;
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.