public static function cleanArray(array &$arr)
    {
        foreach ($arr as $k => $v) {
            if (is_array($v)) {
                self::cleanArray($arr[$k]);
            } else {
                $arr[$k] = stripslashes($v);
            }
        }
    }
public static function cleanArray(array &$arr)
    {
        foreach ($arr as $k => $v) {
            if (is_array($v)) {
                self::cleanArray($arr[$k]);
            } else {
                $arr[$k] = stripslashes($v);
            }
        }
    }
public static function cleanArray ( array & $ arr ) { foreach ( $ arr as $ k => $ v ) { if ( is_array ( $ v ) ) { self :: cleanArray ( $ arr [ $ k ] ) ; } else { $ arr [ $ k ] = stripslashes ( $ v ) ; } } }
Strip any slashes from all array values.

@param array &$arr
Pointer to an array to operate on. Can be multi-dimensional.
Strip any slashes from all array values .