Results of 1 - 5 of about 5 for getUnpackedSize (0.002 sec.)
- RarEntry::getUnpackedSize — 展開後のエントリのサイズを取得する | PHP 8.3 12759
- RarEntry::getUnpackedSize (PECL rar >= 0.1) RarEntry::getUnpackedSize — 展開後のエントリのサイズを取得する 説明 public function RarEntry::getUnpackedSize (): int 展開後のアーカイブエントリのサイズを取得します。 注意 : 長整数型 (long) が 32
... を正しく返せるようになりました。 また、それ以外のプラットフォームでも負の値を返すことがなくなりました。 戻り値 例1 RarEntry::getUnpackedSize() の例 <?php $rar_file = rar_open ( 'example.rar' ) or die( "Rar アーカイブのオープンに失敗しました" ); $entry = rar_entry ... xt' ) or die( "そのようなエントリは見つかりません" ); echo "展開後の " . $entry -> getName () . " のサイズ = " . $entry -> getUnpackedSize () . " バイト" ; ?> 他のマニュアルの関連ページ Linux JM HUGE_VAL(3) Linux JM HUGE_VALF(3) Linux JM INFINITY(3) Linux JM NA ...
-
https://man.mtool.work/php/8.3/rarentry.getunpackedsize.html
- 例 | PHP 8.3 8898
- 例 rar:// ラッパー の例も参照ください。 例1 オンザフライでの復元 <?php if (! array_key_exists ( "i" , $_GET ) || ! is_numeric ( $_GET [ "i" ])) die( "Index unspecified or non-numeric" ); $index = (int) $_GET [ "i" ]; $arch = RarArchive :: o
... such index: $index " ); $orfilename = $entries [ $index ]-> getName (); //UTF-8 encoded $filesize = $entries [ $index ]-> getUnpackedSize (); /* you could check HTTP_IF_MODIFIED_SINCE here and compare with * $entries[$index]->getFileTime(). You could also send ... . "\n" ; echo '圧縮時のファイルサイズ: ' . $entry -> getPackedSize () . "\n" ; echo '展開後のファイルサイズ: ' . $entry -> getUnpackedSize () . "\n" ; $entry -> extract ( '/dir/extract/to/' ); } rar_close ( $rar_file ); ?> この例は Rar アーカイブファイルをオープ ...
-
https://man.mtool.work/php/8.3/rar.examples.html
- The RarEntry class | PHP 8.3 8383
- The RarEntry class (PECL rar >= 0.1) はじめに A RAR entry, representing a directory or a compressed file inside a RAR archive. クラス概要 final class RarEntry { /* 定数 */ const int HOST_MSDOS = 0 ; const int HOST_OS2 = 1 ; const int HOST_W
... public function getPackedSize (): int public function getStream ( string $password = ? ): resource | false public function getUnpackedSize (): int public function getVersion (): int public function isDirectory (): bool public function isEncrypted (): bool publi ... etPackedSize — 圧縮後のエントリのサイズを取得する RarEntry::getStream — このエントリのファイルハンドラを取得する RarEntry::getUnpackedSize — 展開後のエントリのサイズを取得する RarEntry::getVersion — このエントリを展開するのに必要な RAR プログラムの最低バージョン ...
-
https://man.mtool.work/php/8.3/class.rarentry.html
- Rar アーカイブ | PHP 8.3 8291
- Rar アーカイブ はじめに RAR は、Eugene Roshal が作成した強力で効率的なアーカイバです。 この拡張モジュールは unRAR ライブラリを使用していますが、 このライブラリは Rar アーカイブの読み込みしかサポートしていません。 unRAR のソースを使用して RA
... etPackedSize — 圧縮後のエントリのサイズを取得する RarEntry::getStream — このエントリのファイルハンドラを取得する RarEntry::getUnpackedSize — 展開後のエントリのサイズを取得する RarEntry::getVersion — このエントリを展開するのに必要な RAR プログラムの最低バージョン ...
-
https://man.mtool.work/php/8.3/book.rar.html
- サンプル | PHP 8.3 7574
- サンプル マニュアル内の全サンプルの一覧 Example#0 - 初歩的な例 Example#1 - 初めての PHP スクリプト: hello.php Example#2 - PHP からシステムに関する情報を取得する Example#3 - 変数を出力する (配列要素) Example#4 - 制御構造 および 関数の使用例
... ry::getName の例 Example#965 - RarEntry::getPackedSize の例 Example#966 - RarEntry::getStream の例 Example#967 - RarEntry::getUnpackedSize の例 Example#968 - RarEntry::getVersion の例 Example#969 - RarException::isUsingExceptions の例 Example#970 - RarException ...
-
https://man.mtool.work/php/8.3/indexes.examples.html
PREV
1
NEXT