Ejemplo n.º 1
0
 public static function camelBackKeys($arr, $default = null)
 {
     if (!self::isAssoc($arr)) {
         return $default;
     }
     $buffer = array();
     foreach ($arr as $key => $value) {
         $camelBackKey = tad_Str::camelBack($key);
         $buffer[$camelBackKey] = $value;
     }
     return $buffer;
 }