nerdexam
Zend

200-530 · Question #485

You have been given the following PHP script: 1. <?php 2. $a = 'somevalue'; 3. $array = array("a" => "One","b" => "Two", "c" => "Three"); 4. ????????????? 5. echo "\$a = $a; \$b = $b; \$c = $c"; 6…

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

Question

You have been given the following PHP script: 1. <?php 2. $a = 'somevalue'; 3. $array = array("a" => "One","b" => "Two", "c" => "Three"); 4. ????????????? 5. echo "\$a = $a; \$b = $b; \$c = $c"; 6. ?> What should you write at line number 4 to get the following output? $a = One; $b = Two; $c = Three

Options

  • Aimplode($array);
  • Bextract($array);
  • Casort($array);
  • Dksort($array);

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