Question:Which function would you use to rearrange the contents of the following array so that they are reversed (i.e.: array ('d', 'c', 'b', 'a') as the final result)? (Choose 2)
<?php
 $array = array ('a', 'b', 'c', 'd');
?>
 

A array_flip() 

B array_reverse() 

C sort() 

D rsort() 

E None 

+ Answer
+ Explanation
+ Report
Total Preview: 944

Copyright © 2024. Powered by Intellect Software Ltd