public static function multiToAssoc(array $arrays)
    {
        $results = [];
        foreach ($arrays as $key => $value) {
            if (self::isReallyArray($value) === true) {
                $results = array_merge($results, self::multiToAssoc($value));
            } else {
                $results[$key] = $value;
            }
        }

        return $results;
    }
public static function multiToAssoc(array $arrays)
    {
        $results = [];
        foreach ($arrays as $key => $value) {
            if (self::isReallyArray($value) === true) {
                $results = array_merge($results, self::multiToAssoc($value));
            } else {
                $results[$key] = $value;
            }
        }

        return $results;
    }
public static function multiToAssoc ( array $ arrays ) { $ results = [ ] ; foreach ( $ arrays as $ key => $ value ) { if ( self :: isReallyArray ( $ value ) === true ) { $ results = array_merge ( $ results , self :: multiToAssoc ( $ value ) ) ; } else { $ results [ $ key ] = $ value ; } } return $ results ; }
Convert a multi-dimensional array to assoc.

@param array $array Value to be converted.

@since 3.0.0

@return array
Convert a multi - dimensional array to assoc .