PHP - Array Functions
Consider this PHP code snippet:
$arr = ['x' => 'dog', 'y' => 'cat', 'z' => 'dog']; $result = array_flip($arr); print_r($result);What is the problem with this code?
