Question:$states = array("Ohio", "Iowa", "Arizona", "Iowa", "Ohio"); $uniqueStates = array_unique($states); print_r($uniqueStates); This returns the following: 

A Array ( [2] => Ohio [2] => Iowa [1] => Arizona ) 

B Array ( [2] => Ohio [1] => Iowa [2] => Arizona ) 

C Array ( [0] => Ohio [1] => Iowa [2] => Arizona ) 

D Array ( [0] => Ohio [2] => Iowa [2] => Arizona ) 

+ Answer
+ Report
Total Preview: 771

Copyright © 2024. Powered by Intellect Software Ltd