Question:What is the output?
<?php 
$array = array("x"=>"10","y"=>20, "z"=>30); 
$values=array_flip($array); 
print_r($values); 
?>
 

A Array ( [x] => 10 [y] => 20 [z] => 30 ) 

B Array ( [10] => x [20] => y [30] => z ) 

C Array ( [0] => x [1] => y [2] => z ) 

D Array ( [x] => 30 [y] => 20 [z] => 10 ) 

+ Answer
+ Report
Total Preview: 827

Copyright © 2024. Powered by Intellect Software Ltd