« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 8 of about 8 for getEntries (0.001 sec.)
RarArchive::getEntries — RAR アーカイブからエントリの全一覧を取得する | PHP 8.3 12399
RarArchive::getEntries rar_list (PECL rar >= 2.0.0) RarArchive::getEntries -- rar_list — RAR アーカイブからエントリの全一覧を取得する 説明 オブジェクト指向型 (メソッド) public function RarArchive::getEntries (): array | false 手続き型: func ... hive :: open ( 'solid.rar' ); if ( $rar_arch === FALSE ) die( "Could not open RAR archive." ); $rar_entries = $rar_arch -> getEntries (); if ( $rar_entries === FALSE ) die( "Could not retrieve entries." ); echo "Found " . count ( $rar_entries ) . " entries ...
https://man.mtool.work/php/8.3/rararchive.getentries.html
RarArchive クラス | PHP 8.3 11531
RarArchive クラス (PECL rar >= 2.0.0) はじめに このクラスは RAR アーカイブをあらわします。これは複数のパーツで構成されることもあり、 中に RAR エントリ (ファイルやディレクトリ、そしてシンボリックリンクなどの特殊なオブジェクト) を含みます。 こ ... アーカイブに格納されているエントリを取り出したりすることができます。 このエントリは、 RarArchive::getEntry() や RarArchive::getEntries() を使って取得することもできます。 クラス概要 final class RarArchive implements Traversable { /* メソッド */ public functi ... on close (): bool public function getComment (): string public function getEntries (): array | false public function getEntry ( string $entryname ): RarEntry | false public function isBroken (): bool publi ... アーカイブをクローズし、全リソースを解放する RarArchive::getComment — RAR アーカイブのコメントテキストを取得する RarArchive::getEntries — RAR アーカイブからエントリの全一覧を取得する RarArchive::getEntry — Rar アーカイブからエントリオブジェクトを取得する Rar ...
https://man.mtool.work/php/8.3/class.rararchive.html
RarArchive::getEntry — Rar アーカイブからエントリオブジェクトを取得する | PHP 8... 9489
RarArchive::getEntry rar_entry_get (PECL rar >= 2.0.0) RarArchive::getEntry -- rar_entry_get — Rar アーカイブからエントリオブジェクトを取得する 説明 オブジェクト指向型 (メソッド) public function RarArchive::getEntry ( string $entryname ): R ... RarEntry | false Rar アーカイブから、エントリオブジェクト (ファイルあるいはディレクトリ) を取得します。 注意 : RarArchive::getEntries() を使ってエントリオブジェクトを取得することもできます。 RAR アーカイブには、同じ名前のエントリを複数格納することができます ... ot get such entry" ); echo get_class ( $rar_entry ). "\n" ; echo $rar_entry ; rar_close ( $rar_arch ); ?> 参考 RarArchive::getEntries() - RAR アーカイブからエントリの全一覧を取得する rar:// ラッパー 他のマニュアルの関連ページ Linux JM arch(1) ...
https://man.mtool.work/php/8.3/rararchive.getentry.html
RarArchive::close — Rar アーカイブをクローズし、全リソースを解放する | PHP 8.3 8133
RarArchive::close rar_close (PECL rar >= 2.0.0) RarArchive::close -- rar_close — Rar アーカイブをクローズし、全リソースを解放する 説明 オブジェクト指向型 (メソッド) public function RarArchive::close (): bool 手続き型: function rar_close ( R ... に true を、失敗した場合に false を返します。 変更履歴 バージョン 説明 PECL rar 2.0.0 RarArchive::getEntry() や RarArchive::getEntries() が返した RAR エントリは、 このメソッドをコールした時点で無効になります。 これらのエントリのインスタンスメソッドをコールし ...
https://man.mtool.work/php/8.3/rararchive.close.html
Rar アーカイブ | PHP 8.3 7790
Rar アーカイブ はじめに RAR は、Eugene Roshal が作成した強力で効率的なアーカイバです。 この拡張モジュールは unRAR ライブラリを使用していますが、 このライブラリは Rar アーカイブの読み込みしかサポートしていません。 unRAR のソースを使用して RA ... アーカイブをクローズし、全リソースを解放する RarArchive::getComment — RAR アーカイブのコメントテキストを取得する RarArchive::getEntries — RAR アーカイブからエントリの全一覧を取得する RarArchive::getEntry — Rar アーカイブからエントリオブジェクトを取得する Rar ...
https://man.mtool.work/php/8.3/book.rar.html
RarArchive::setAllowBroken — 壊れたアーカイブのオープンを許可するかどうかを設定... 7790
RarArchive::setAllowBroken (PECL rar >= 3.0.0) RarArchive::setAllowBroken — 壊れたアーカイブのオープンを許可するかどうかを設定する 説明 オブジェクト指向型 (メソッド) public function RarArchive::setAllowBroken ( bool $allow_broken ): bool 手 ... not found" message */ $a = RarArchive :: open ( $file , null , 'retnull' ); $a -> setAllowBroken ( true ); foreach ( $a -> getEntries () as $e ) { echo " $e \n" ; } var_dump ( count ( $a )); ?> 上の例の出力は、 たとえば以下のようになります。 RarEntry for f ...
https://man.mtool.work/php/8.3/rararchive.setallowbroken.html
例 | PHP 8.3 7627
例 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 ... pen ( "example.rar" ); if ( $arch === FALSE ) die( "Cannot open example.rar" ); $entries = $arch -> getEntries (); if ( $entries === FALSE ) die( "Cannot retrieve entries" ); if (! array_key_exists ( $index , $entries )) die( "No suc ...
https://man.mtool.work/php/8.3/rar.examples.html
RarArchive::open — Rar アーカイブをオープンする | PHP 8.3 7446
RarArchive::open rar_open (PECL rar >= 2.0.0) RarArchive::open -- rar_open — Rar アーカイブをオープンする 説明 オブジェクト指向型 (メソッド) public static function RarArchive::open ( string $filename , string $password = NULL , callable $vo ... rypted_headers.rar' , 'samplepassword' ); if ( $rar_arch === FALSE ) die( "Failed opening file" ); $entries = $rar_arch -> getEntries (); if ( $entries === FALSE ) die( "Failed fetching entries" ); echo "Found " . count ( $entries ) . " files.\n" ; if (emp ...
https://man.mtool.work/php/8.3/rararchive.open.html
PREV 1 NEXT