« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 5 of about 5 for uncompressed (0.002 sec.)
例 | PHP 8.3 11545
例 テンポラリファイルをオープンし、テスト用文字列を書きこみ、 続いて、このファイルの内容を 2 回出力します。 例1 簡単な Zlib の例 <?php $filename = tempnam ( '/tmp' , 'zlibtest' ) . '.gz' ; echo "<html>\n<head></head>\n<body>\n<pre>\n" ; $s ... ateContext , ", and even more data!" , ZLIB_FINISH ); // GZIP 伸長 $inflateContext = inflate_init ( ZLIB_ENCODING_GZIP ); $uncompressed = inflate_add ( $inflateContext , $compressed , ZLIB_NO_FLUSH ); $uncompressed .= inflate_add ( $inflateContext , NULL , Z ... LIB_FINISH ); echo $uncompressed ; ?> 上の例の出力は以下となります。 Data to compress, more data, and even more data! 他のマニュアルの関連ページ Python zli ...
https://man.mtool.work/php/8.3/zlib.examples.html
gzuncompress — 圧縮された文字列を解凍する | PHP 8.3 10277
gzuncompress (PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8) gzuncompress — 圧縮された文字列を解凍する 説明 function gzuncompress ( string $data , int $max_length = 0 ): string | false この関数は圧縮された文字列を解凍します。 パラメータ data gzcompre ... ax_length 以上の場合、エラーを返します。 例 例1 gzuncompress() の例 <?php $compressed = gzcompress ( 'Compress me' , 9 ); $uncompressed = gzuncompress ( $compressed ); echo $uncompressed ; ?> 参考 gzcompress() - 文字列を圧縮する gzinflate() - deflate圧縮され ...
https://man.mtool.work/php/8.3/function.gzuncompress.html
gzinflate — deflate圧縮された文字列を解凍する | PHP 8.3 10038
gzinflate (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) gzinflate — deflate圧縮された文字列を解凍する 説明 function gzinflate ( string $data , int $max_length = 0 ): string | false この関数は圧縮された文字列を解凍(伸長)します。 パラメータ data gzde ... タが max_length 以上の場合、エラーを返します。 例 例1 gzinflate() の例 <?php $compressed = gzdeflate ( 'Compress me' , 9 ); $uncompressed = gzinflate ( $compressed ); echo $uncompressed ; ?> 参考 gzdeflate() - 文字列を deflate 圧縮する gzcompress() - 文字列を圧 ...
https://man.mtool.work/php/8.3/function.gzinflate.html
bzwrite — バイナリ対応の bzip2 ファイルへの書き込み | PHP 8.3 7280
bzwrite (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) bzwrite — バイナリ対応の bzip2 ファイルへの書き込み 説明 function bzwrite ( resource $bz , string $data , ? int $length = null ): int | false bzwrite() は、文字列を与えられた bzip2 ファイルストリ ... に false を返します。 変更履歴 バージョン 説明 8.0.0 length は、nullable になりました。 例 例1 bzwrite() の例 <?php $str = "uncompressed data" ; $bz = bzopen ( "/tmp/foo.bz2" , "w" ); bzwrite ( $bz , $str , strlen ( $str )); bzclose ( $bz ); ?> 参考 bzread() ...
https://man.mtool.work/php/8.3/function.bzwrite.html
実行時設定 | PHP 8.3 6784
実行時設定 php.ini の設定により動作が変化します。 Yac 設定オプション 名前 デフォルト 変更可能 変更履歴 yac.compress_threshold 4K INI_SYSTEM yac.debug 0 INI_ALL yac.enable 1 INI_SYSTEM yac.enable_cli 0 INI_SYSTEM yac.keys_memory_size 8M INI_ ... entry limit ( YAC_MAX_RAW_COMPRESSED_LEN ) are always compressed regardless of this setting, because they cannot be stored uncompressed. The default of 4K enables compression; -1 disables it for values below the stored entry limit, and other positive values ...
https://man.mtool.work/php/8.3/yac.configuration.html
PREV 1 NEXT