Example #1
0
function array_e2u($array)
{
    $result = array();
    foreach ($array as $key => $value) {
        $result[e2u($key)] = e2u($value);
    }
    return $result;
}
Example #2
0
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;
}