Results of 1 - 10 of about 17 for getHostOs (0.002 sec.)
- エントリのホスト OS を取得する 12276
- « RarEntry::getFileTime RarEntry::getMethod » PHP Manual RarEntry エントリのホスト OS を取得する 検索 RarEntry::getHostOs (PECL rar >= 0.1) RarEntry::getHostOs — エントリのホスト OS を取得する 説明 public function RarEntry::getHostOs (): in
... ータ この関数にはパラメータはありません。 戻り値 ホスト OS のコード、あるいはエラー時に false を返します。 例 例1 RarEntry::getHostOs() の例 (バージョン >= 2.0.0) <?php $rar_file = rar_open ( 'example.rar' ) or die( "Rar アーカイブのオープンに失敗しました" ... ; $entry = rar_entry_get ( $rar_file , 'Dir/file.txt' ) or die( "そのようなエントリは見つかりません" ); switch ( $entry -> getHostOs ()) { case RarEntry :: HOST_MSDOS : echo "MS-DOS\n" ; break; case RarEntry :: HOST_OS2 : echo "OS2\n" ; break; case RarEnt ... arEntry :: HOST_UNIX : echo "Unix/Linux\n" ; break; case RarEntry :: HOST_BEOS : echo "BeOS\n" ; break; } ?> 例2 RarEntry::getHostOs() の例 (バージョン <= 1.0.0) <?php $rar_file = rar_open ( 'example.rar' ) or die( "Rar アーカイブのオープンに失敗しました" ...
-
https://man.mtool.work/php/8.3/rarentry.gethostos.html
- エントリのホスト OS を取得する 12276
- « RarEntry::getFileTime RarEntry::getMethod » PHP Manual RarEntry エントリのホスト OS を取得する 検索 RarEntry::getHostOs (PECL rar >= 0.1) RarEntry::getHostOs — エントリのホスト OS を取得する 説明 public function RarEntry::getHostOs (): in
... ータ この関数にはパラメータはありません。 戻り値 ホスト OS のコード、あるいはエラー時に false を返します。 例 例1 RarEntry::getHostOs() の例 (バージョン >= 2.0.0) <?php $rar_file = rar_open ( 'example.rar' ) or die( "Rar アーカイブのオープンに失敗しました" ... ; $entry = rar_entry_get ( $rar_file , 'Dir/file.txt' ) or die( "そのようなエントリは見つかりません" ); switch ( $entry -> getHostOs ()) { case RarEntry :: HOST_MSDOS : echo "MS-DOS\n" ; break; case RarEntry :: HOST_OS2 : echo "OS2\n" ; break; case RarEnt ... arEntry :: HOST_UNIX : echo "Unix/Linux\n" ; break; case RarEntry :: HOST_BEOS : echo "BeOS\n" ; break; } ?> 例2 RarEntry::getHostOs() の例 (バージョン <= 1.0.0) <?php $rar_file = rar_open ( 'example.rar' ) or die( "Rar アーカイブのオープンに失敗しました" ...
-
https://man.mtool.work/php/8.3/rarentry.gethostos.html
- The RarEntry class 9845
- « RarArchive::__toString RarEntry::extract » PHP Manual Rar The RarEntry class 検索 The RarEntry class (PECL rar >= 0.1) はじめに A RAR entry, representing a directory or a compressed file inside a RAR archive. クラス概要 final class RarEnt
... l public function getAttr (): int public function getCrc (): string public function getFileTime (): string public function getHostOs (): int public function getMethod (): int public function getName (): string public function getPackedSize (): int public ... rypted (): bool public function __toString (): string } 定義済み定数 RarEntry::HOST_MSDOS If the return value of RarEntry::getHostOs() equals this constant, MS-DOS was used to add this entry. Use instead of RAR_HOST_MSDOS . RarEntry::HOST_OS2 If the retur ... n value of RarEntry::getHostOs() equals this constant, OS/2 was used to add this entry. Intended to replace RAR_HOST_OS2 . RarEntry::HOST_WIN32 If the re ...
-
https://man.mtool.work/php/8.3/class.rarentry.html
- The RarEntry class 9845
- « RarArchive::__toString RarEntry::extract » PHP Manual Rar The RarEntry class 検索 The RarEntry class (PECL rar >= 0.1) はじめに A RAR entry, representing a directory or a compressed file inside a RAR archive. クラス概要 final class RarEnt
... l public function getAttr (): int public function getCrc (): string public function getFileTime (): string public function getHostOs (): int public function getMethod (): int public function getName (): string public function getPackedSize (): int public ... rypted (): bool public function __toString (): string } 定義済み定数 RarEntry::HOST_MSDOS If the return value of RarEntry::getHostOs() equals this constant, MS-DOS was used to add this entry. Use instead of RAR_HOST_MSDOS . RarEntry::HOST_OS2 If the retur ... n value of RarEntry::getHostOs() equals this constant, OS/2 was used to add this entry. Intended to replace RAR_HOST_OS2 . RarEntry::HOST_WIN32 If the re ...
-
https://man.mtool.work/php/8.3/class.rarentry.html
- このエントリがディレクトリであるかどうかを調べる 9121
- « RarEntry::getVersion RarEntry::isEncrypted » PHP Manual RarEntry このエントリがディレクトリであるかどうかを調べる 検索 RarEntry::isDirectory (PECL rar >= 2.0.0) RarEntry::isDirectory — このエントリがディレクトリであるかどうかを調べる 説明
... イルでしか使えません)。 <?php //... //Open file, get entry and store in variable $e... //... $isDirectory = (bool) ((( $e -> getHostOs () == RAR_HOST_WIN32 ) && ( $e -> getAttr () & 0x10 )) || (( $e -> getHostOs () == RAR_HOST_UNIX ) && (( $e -> getAttr () ... & 0xf000 ) == 0x4000 ))); ?> 関連キーワード: エントリ RarEntry isDirectory getHostOs getAttr getVersion isEncrypted 属性 チェック Windows Unix 圧縮 entry store variable ...
-
https://man.mtool.work/php/8.3/rarentry.isdirectory.html
- このエントリがディレクトリであるかどうかを調べる 9035
- « RarEntry::getVersion RarEntry::isEncrypted » PHP Manual RarEntry このエントリがディレクトリであるかどうかを調べる 検索 RarEntry::isDirectory (PECL rar >= 2.0.0) RarEntry::isDirectory — このエントリがディレクトリであるかどうかを調べる 説明
... イルでしか使えません)。 <?php //... //Open file, get entry and store in variable $e... //... $isDirectory = (bool) ((( $e -> getHostOs () == RAR_HOST_WIN32 ) && ( $e -> getAttr () & 0x10 )) || (( $e -> getHostOs () == RAR_HOST_UNIX ) && (( $e -> getAttr () ... & 0xf000 ) == 0x4000 ))); ?> 関連キーワード: エントリ ディレクトリ RarEntry isDirectory bool パラメータ 場合 getHostOs getAttr getVersion Search isEncrypted rar function 現在 戻り値 true 以外 false バージョン ...
-
https://man.mtool.work/php/8.3/rarentry.isdirectory.html
- エントリの最終更新時刻を取得する 8707
- « RarEntry::getCrc RarEntry::getHostOs » PHP Manual RarEntry エントリの最終更新時刻を取得する 検索 RarEntry::getFileTime (PECL rar >= 0.1) RarEntry::getFileTime — エントリの最終更新時刻を取得する 説明 public function RarEntry::getFileTime (
... S 形式で表した文字列、あるいはエラー時に false を返します。 関連キーワード: RarEntry エントリ 最終 時刻 getFileTime getCrc getHostOs ...
-
https://man.mtool.work/php/8.3/rarentry.getfiletime.html
- エントリの最終更新時刻を取得する 8621
- « RarEntry::getCrc RarEntry::getHostOs » PHP Manual RarEntry エントリの最終更新時刻を取得する 検索 RarEntry::getFileTime (PECL rar >= 0.1) RarEntry::getFileTime — エントリの最終更新時刻を取得する 説明 public function RarEntry::getFileTime (
... 字列、あるいはエラー時に false を返します。 関連キーワード: RarEntry エントリ 最終 時刻 getFileTime パラメータ getCrc Search getHostOs rar function string 戻り値 false navigate Enter select Esc close open ...
-
https://man.mtool.work/php/8.3/rarentry.getfiletime.html
- エントリの属性を取得する 8466
- « RarEntry::extract RarEntry::getCrc » PHP Manual RarEntry エントリの属性を取得する 検索 RarEntry::getAttr (PECL rar >= 0.1) RarEntry::getAttr — エントリの属性を取得する 説明 public function RarEntry::getAttr (): int アーカイブエントリの、O
... = rar_entry_get ( $rar_file , 'dir/in/the/archive' ) or die( "そのようなエントリは見つかりません" ); $host_os = $entry -> getHostOs (); $attr = $entry -> getAttr (); switch( $host_os ) { case RAR_HOST_MSDOS : case RAR_HOST_OS2 : case RAR_HOST_WIN32 : cas ... ' , ( $attr & 0x0002 ) ? 'w' : '-' , ( $attr & 0x0001 ) ? 'x' : '-' ); break; } rar_close ( $rar_file ); ?> 参考 RarEntry::getHostOs() - エントリのホスト OS を取得する The constants in RarEntry 関連キーワード: attr RarEntry rar case エントリ 属性 getAttr ... printf break entry file アーカイブ パラメータ open die host os getHostOs switch close ...
-
https://man.mtool.work/php/8.3/rarentry.getattr.html
- エントリの属性を取得する 8466
- « RarEntry::extract RarEntry::getCrc » PHP Manual RarEntry エントリの属性を取得する 検索 RarEntry::getAttr (PECL rar >= 0.1) RarEntry::getAttr — エントリの属性を取得する 説明 public function RarEntry::getAttr (): int アーカイブエントリの、O
... = rar_entry_get ( $rar_file , 'dir/in/the/archive' ) or die( "そのようなエントリは見つかりません" ); $host_os = $entry -> getHostOs (); $attr = $entry -> getAttr (); switch( $host_os ) { case RAR_HOST_MSDOS : case RAR_HOST_OS2 : case RAR_HOST_WIN32 : cas ... ' , ( $attr & 0x0002 ) ? 'w' : '-' , ( $attr & 0x0001 ) ? 'x' : '-' ); break; } rar_close ( $rar_file ); ?> 参考 RarEntry::getHostOs() - エントリのホスト OS を取得する The constants in RarEntry 関連キーワード: attr RarEntry case エントリ 属性 getAttr prin ... tf break entry アーカイブ host getHostOs switch extract getCrc 依存 example オープン archive default 参考 ホスト constants ...
-
https://man.mtool.work/php/8.3/rarentry.getattr.html