PrepAway - Latest Free Exam Questions & Answers

What will be the value of $a?

After performing the following operations:
<code>
$a = array(‘a’, ‘b’, ‘c’);
$a = array_keys(array_flip($a));
</code>

What will be the value of $a?

PrepAway - Latest Free Exam Questions & Answers

A.
array(‘c’, ‘b’, ‘a’)

B.
array(2, 1, 0)

C.
array(‘a’, ‘b’, ‘c’)

D.
None of the above


Leave a Reply

Your email address will not be published. Required fields are marked *