array-flip

PHP array_flip() Bug??

The weirdest thing is happening to me... I have a form I'm sending via an ajax post (using jquery's serialize function) to a php script running this function (stripped down for clarity): $arr = $_POST; unset($arr['command']); unset($arr['index']); $vals = $arr; $keys = $arr; ...