<?php $array = array('a' => 2, 'b' => 1, 'c' => 4); $temp = $array['c']; $array['c'] = $array['a']; $array['a'] = temp; print_r($array);
You have javascript disabled. You will not be able to edit any code.