function array_e2u($array) { $result = array(); foreach ($array as $key => $value) { $result[e2u($key)] = e2u($value); } return $result; }
function array_e2u($array) { $result = array(); foreach ($array as $key => $value) { if (is_array($value)) { $result[e2u($key)] = array_e2u($value); } else { $result[e2u($key)] = e2u($value); } } return $result; }