src/Event/Entry.php
public static function uncompressEntry($text) {
        if ( $text === null | $text === false ) return $text;
        $needed = false;
        for ($i = 0; $i < strlen($text); $i++){
            $ch = $text[$i];
            if ( $ch >= '0' && $ch <= '9' ) continue;
            if ( $ch == ':' || $ch == ',' || $ch == '=' ) continue;
            $needed = true;
            break;
        }
        if ( ! $needed ) return $text;
        return gzuncompress($text);
    }
public static function uncompressEntry($text) {
        if ( $text === null | $text === false ) return $text;
        $needed = false;
        for ($i = 0; $i < strlen($text); $i++){
            $ch = $text[$i];
            if ( $ch >= '0' && $ch <= '9' ) continue;
            if ( $ch == ':' || $ch == ',' || $ch == '=' ) continue;
            $needed = true;
            break;
        }
        if ( ! $needed ) return $text;
        return gzuncompress($text);
    }
public static function uncompressEntry ( $ text ) { if ( $ text === null | $ text === false ) return $ text ; $ needed = false ; for ( $ i = 0 ; $ i < strlen ( $ text ) ; $ i ++ ) { $ ch = $ text [ $ i ] ; if ( $ ch >= '0' && $ ch <= '9' ) continue ; if ( $ ch == ':' || $ ch == ',' || $ ch == '=' ) continue ; $ needed = true ; break ; } if ( ! $ needed ) return $ text ; return gzuncompress ( $ text ) ; }
Optionally uncompress a serialized entry if it is compressed
Optionally uncompress a serialized entry if it is compressed