Zend
200-710 · Question #187
What will be the result of the following operation? ``php array_combine(array("A", "B", "C"), array(1,2,3)); ``
Sign in or unlock 200-710 to reveal the answer and full explanation for question #187. The question stem and answer options stay visible for context.
Arrays
Question
What will be the result of the following operation?
array_combine(array("A", "B", "C"), array(1,2,3));
Options
- Aarray("A"=>"B","C",1,2,3)
- Barray(1,2,3,"A","B","C")
- Carray("A"=>1,"B"=>2,"C"=>3)
- Darray(1=>"A",2=>"B",3=>"C")
- Earray(1,2,3)
Unlock 200-710 to see the answer
You've previewed enough free 200-710 questions. Unlock 200-710 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.
Topics
#array_combine#key-value mapping#array creation