PHP - Array Functions
What will be the output of this PHP code?
$arr = ['a' => 1, 'b' => 2, 'c' => 1]; $flipped = array_flip($arr); print_r($flipped);
$arr = ['a' => 1, 'b' => 2, 'c' => 1]; $flipped = array_flip($arr); print_r($flipped);
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions