PrepAway - Latest Free Exam Questions & Answers

what will be the value of $b?

After running this sort, what will be the value of $b?
<code>
$a = array(‘_!’, ‘def’, 0);
$b = sort($a);
</code>

PrepAway - Latest Free Exam Questions & Answers

A.
array(0, ‘def’, ‘_!’)

B.
array(‘_!’, 0, ‘def’)

C.
array(‘def’, 0, ‘_!)

D.
None of the above


Leave a Reply

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