Results of 1 - 10 of about 11 for statIndex (0.001 sec.)
- ZipArchive::statIndex — インデックスを使用してエントリの詳細を取得する | PHP 8.... 13176
- ZipArchive::statIndex (PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL zip >= 1.1.0) ZipArchive::statIndex — インデックスを使用してエントリの詳細を取得する 説明 public function ZipArchive::statIndex ( int $index , int $flags = 0 ): array | false この関数
... トリの情報の出力 <?php $zip = new ZipArchive ; $res = $zip -> open ( 'test.zip' ); if ( $res === TRUE ) { print_r ( $zip -> statIndex ( 3 )); $zip -> close (); } else { echo '失敗、コード:' . $res ; } ?> 上の例の出力は、 たとえば以下のようになります。 Arra ...
-
https://man.mtool.work/php/8.3/ziparchive.statindex.html
- zip_entry_name — ディレクトリエントリの名前を取得する | PHP 8.3 9797
- zip_entry_name (PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL zip >= 1.0.0) zip_entry_name — ディレクトリエントリの名前を取得する 警告 この関数は PHP 8.0.0 で 非推奨 になります。この関数に頼らないことを強く推奨します。 説明 #[ \Depreca
... ted ( since : '8.0' , message : 'use ZipArchive::statIndex() instead' , )] function zip_entry_name ( resource $zip_entry ): string | false 指定したディレクトリエントリの名前を返しま ... ます 変更履歴 バージョン 説明 8.0.0 この関数は非推奨になりました。オブジェクト指向のAPIを使うのが望ましいです。 ZipArchive::statIndex() を参照ください。 参考 zip_open() - Zip ファイルアーカイブをオープンする zip_read() - Zip ファイルアーカイブの中の次のエン ...
-
https://man.mtool.work/php/8.3/function.zip-entry-name.html
- zip_entry_compressedsize — ディレクトリエントリの圧縮時のサイズを取得する | PHP... 9637
- zip_entry_compressedsize (PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL zip >= 1.0.0) zip_entry_compressedsize — ディレクトリエントリの圧縮時のサイズを取得する 警告 この関数は PHP 8.0.0 で 非推奨 になります。この関数に頼らないことを強く
... 推奨します。 説明 #[ \Deprecated ( since : '8.0' , message : 'use ZipArchive::statIndex() instead' , )] function zip_entry_compressedsize ( resource $zip_entry ): int | false ディレクトリエントリの圧縮時のサイズ ... ます 変更履歴 バージョン 説明 8.0.0 この関数は非推奨になりました。オブジェクト指向のAPIを使うのが望ましいです。 ZipArchive::statIndex() を参照ください。 参考 zip_open() - Zip ファイルアーカイブをオープンする zip_read() - Zip ファイルアーカイブの中の次のエン ...
-
https://man.mtool.work/php/8.3/function.zip-entry-compressedsize.html
- zip_entry_compressionmethod — ディレクトリエントリの圧縮方法を取得する | PHP 8.... 9637
- zip_entry_compressionmethod (PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL zip >= 1.0.0) zip_entry_compressionmethod — ディレクトリエントリの圧縮方法を取得する 警告 この関数は PHP 8.0.0 で 非推奨 になります。この関数に頼らないことを強く
... 推奨します。 説明 #[ \Deprecated ( since : '8.0' , message : 'use ZipArchive::statIndex() instead' , )] function zip_entry_compressionmethod ( resource $zip_entry ): string | false zip_entry により指定されたディ ... ます 変更履歴 バージョン 説明 8.0.0 この関数は非推奨になりました。オブジェクト指向のAPIを使うのが望ましいです。 ZipArchive::statIndex() を参照ください。 参考 zip_open() - Zip ファイルアーカイブをオープンする zip_read() - Zip ファイルアーカイブの中の次のエン ...
-
https://man.mtool.work/php/8.3/function.zip-entry-compressionmethod.html
- zip_entry_filesize — ディレクトリエントリの実際のファイルサイズを取得する | PHP... 9637
- zip_entry_filesize (PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL zip >= 1.0.0) zip_entry_filesize — ディレクトリエントリの実際のファイルサイズを取得する 警告 この関数は PHP 8.0.0 で 非推奨 になります。この関数に頼らないことを強く推奨し
... ます。 説明 #[ \Deprecated ( since : '8.0' , message : 'use ZipArchive::statIndex() instead' , )] function zip_entry_filesize ( resource $zip_entry ): int | false ディレクトリエントリの実際のファイルサイズ ... ます 変更履歴 バージョン 説明 8.0.0 この関数は非推奨になりました。オブジェクト指向のAPIを使うのが望ましいです。 ZipArchive::statIndex() を参照ください。 参考 zip_open() - Zip ファイルアーカイブをオープンする zip_read() - Zip ファイルアーカイブの中の次のエン ...
-
https://man.mtool.work/php/8.3/function.zip-entry-filesize.html
- zip_read — Zip ファイルアーカイブの中の次のエントリを読み込む | PHP 8.3 9459
- zip_read (PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL zip >= 1.0.0) zip_read — Zip ファイルアーカイブの中の次のエントリを読み込む 警告 この関数は PHP 8.0.0 で 非推奨 になります。この関数に頼らないことを強く推奨します。 説明 #[ \Depre
... cated ( since : '8.0' , message : 'use ZipArchive::statIndex() instead' , )] function zip_read ( resource $zip ): resource | false Zip ファイルアーカイブの中の次のエントリを読み込みま ... す。 変更履歴 バージョン 説明 8.0.0 この関数は非推奨になりました。オブジェクト指向のAPIを使うのが望ましいです。 ZipArchive::statIndex() を参照ください。 参考 zip_open() - Zip ファイルアーカイブをオープンする zip_close() - ZIP ファイルアーカイブを閉じる zip ...
-
https://man.mtool.work/php/8.3/function.zip-read.html
- 推奨されなくなる機能 | PHP 8.3 7770
- 推奨されなくなる機能 PHP コア デフォルト値を持つパラメータの後に、必須のパラメータが続く場合、デフォルト値は意味をなしません。 こうした書き方は PHP 8.0.0 から推奨されなくなります。 以下のようにしてデフォルト値を削除することで、機能を変更する
... で削除される予定です。 Zip の手続き型の API は推奨されなくなりました。 ZipArchive クラスを代わりに使って下さい。 ZipArchive::statIndex() と for ループを以下のようにして使えば、 全てのエントリを処理できます: <?php // 手続き型のAPIを使ってループする assert ( ... try ); } // オブジェクト指向のAPIを使ってループする assert ( $zip instanceof ZipArchive ); for ( $i = 0 ; $entry = $zip -> statIndex ( $i ); $i ++) { echo $entry [ 'name' ]; } ?> リフレクション ReflectionFunction::isDisabled() は推奨されなくなりました。 無 ...
-
https://man.mtool.work/php/8.3/migration80.deprecated.html
- ZipArchive::getExternalAttributesIndex — インデックスで定義されたエントリの外部... 7450
- ZipArchive::getExternalAttributesIndex (PHP 5 >= 5.6.0, PHP 7, PHP 8, PECL zip >= 1.12.4) ZipArchive::getExternalAttributesIndex — インデックスで定義されたエントリの外部属性を取得する 説明 public function ZipArchive::getExternalAttributesIn
... 限付きで展開する <?php $zip = new ZipArchive (); if ( $zip -> open ( 'test.zip' ) === TRUE ) { for ( $idx = 0 ; $s = $zip -> statIndex ( $idx ) ; $idx ++) { if ( $zip -> extractTo ( '.' , $s [ 'name' ])) { if ( $zip -> getExternalAttributesIndex ( $idx , $o ...
-
https://man.mtool.work/php/8.3/ziparchive.getexternalattributesindex.html
- ZipArchive クラス | PHP 8.3 7272
- ZipArchive クラス (PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL zip >= 1.1.0) はじめに Zip で圧縮されたファイルアーカイブです。 クラス概要 class ZipArchive implements Countable { /* 定数 */ public const int CREATE ; public const int EXCL ; public con
... p , int $flags = 0 ): bool public function setPassword ( #[ \SensitiveParameter ] string $password ): bool public function statIndex ( int $index , int $flags = 0 ): array | false public function statName ( string $name , int $flags = 0 ): array | false p ... 名前を使ってエントリの変更時間を設定する ZipArchive::setPassword — アクティブなアーカイブにパスワードを設定する ZipArchive::statIndex — インデックスを使用してエントリの詳細を取得する ZipArchive::statName — 名前を使用してエントリの詳細を取得する ZipArchive: ...
-
https://man.mtool.work/php/8.3/class.ziparchive.html
- 例 | PHP 8.3 7112
- 例 例1 Zip アーカイブの作成 <?php $zip = new ZipArchive (); $filename = "./test112.zip" ; if ( $zip -> open ( $filename , ZipArchive :: CREATE )!== TRUE ) { exit( "cannot open < $filename >\n" ); } $zip -> addFromString ( "testfilephp.txt"
... comment: " . $za -> comment . "\n" ; for ( $i = 0 ; $i < $za -> numFiles ; $i ++) { echo "index: $i \n" ; print_r ( $za -> statIndex ( $i )); } echo "numFile:" . $za -> numFiles . "\n" ; ?> 例3 Zip ストリームラッパーによる OpenOffice メタ情報の読み込み <? ...
-
https://man.mtool.work/php/8.3/zip.examples.html