« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 13 for Broken (0.001 sec.)
RarArchive::setAllowBroken — 壊れたアーカイブのオープンを許可するかどうかを設定... 12369
RarArchive::setAllowBroken (PECL rar >= 3.0.0) RarArchive::setAllowBroken — 壊れたアーカイブのオープンを許可するかどうかを設定する 説明 オブジェクト指向型 (メソッド) public function RarArchive::setAllowBroken ( bool $allow_broken ): bool 手 ... 続き型: function rar_allow_broken_set ( RarArchive $rarfile , bool $allow_broken ): bool このメソッドは、壊れたアーカイブの読み込みを許可するか、 あるいはア ... にエラーが発生するようなアーカイブのことです。 パラメータ rarfile rar_open() でオープンした RarArchive オブジェクト。 allow_broken 壊れたファイルの読み込みを許可する ( true ) か許可しない ( false ) か。 戻り値 true を返します。失敗した場合に false を返し ... ときだけです。 例 例1 オブジェクト指向型 <?php function retnull () { return null ; } $file = dirname ( __FILE__ ) . "/multi_broken.part1.rar" ; /* Third argument omits "volume not found" message */ $a = RarArchive :: open ( $file , null , 'retnull' ); $ ...
https://man.mtool.work/php/8.3/rararchive.setallowbroken.html
RarArchive::isBroken — アーカイブが壊れている (未完成である) かどうかを調べる |... 12000
RarArchive::isBroken rar_broken_is (PECL rar >= 3.0.0) RarArchive::isBroken -- rar_broken_is — アーカイブが壊れている (未完成である) かどうかを調べる 説明 オブジェクト指向型 (メソッド) public function RarArchive::isBroken (): bool 手続き型: ... function rar_broken_is ( RarArchive $rarfile ): bool この関数は、アーカイブが不完全である (ボリュームがなかったり、ボリュームが途中で終わってい ... 要なはずです。 例 例1 オブジェクト指向型 <?php function retnull () { return null ; } $file = dirname ( __FILE__ ) . "/multi_broken.part1.rar" ; /* Third argument is used to omit notice */ $arch = RarArchive :: open ( $file , null , 'retnull' ); var_dump ... ( $arch -> isBroken ()); ?> 上の例の出力は、 たとえば以下のようになります。 bool(true) 例2 手続き型 <?php function retnull () { return null ; ...
https://man.mtool.work/php/8.3/rararchive.isbroken.html
XML エラーの対応 | PHP 8.3 11102
XML エラーの対応 ドキュメント読み込み時の XML エラーに対処するのは非常にシンプルな作業です。 libxml の機能を使うと、 ドキュメント読み込み時のすべての XML エラーを抑制して後からそれを処理することができます。 libxml_get_errors() が返す LibXML ... 壊れた XML 文字列の読み込み <?php libxml_use_internal_errors ( true ); $sxe = simplexml_load_string ( "<?xml version='1.0'><broken><xml></broken>" ); if ( $sxe === false ) { echo "Failed loading XML\n" ; foreach( libxml_get_errors () as $error ) { echo ... ailed loading XML Blank needed here parsing XML declaration: '?>' expected Opening and ending tag mismatch: xml line 1 and broken Premature end of data in tag broken line 1 参考 libxml_use_internal_errors() libxml_get_errors() LibXMLError 他のマニュアル ...
https://man.mtool.work/php/8.3/simplexml.examples-errors.html
RarArchive::open — Rar アーカイブをオープンする | PHP 8.3 9132
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 ... ws:\n" ; echo stream_get_contents ( $stream ); fclose ( $stream ); ?> 例3 ボリュームコールバック <?php /* この例では multi_broken.part1.rar というボリュームがあり、 * 次のボリュームが multi.part2.rar であるものとします */ function resolve ( $vol ) { if ... ( preg_match ( '/_broken/' , $vol )) return str_replace ( '_broken' , '' , $vol ); else return null ; } $rar_file1 = rar_open ( dirname ( __FILE__ ... ). '/multi_broken.part1.rar' , null , 'resolve' ); $entry = $rar_file1 -> getEntry ( 'file2.txt' ); $entry -> extract ( null , dirname ( __F ...
https://man.mtool.work/php/8.3/rararchive.open.html
オーストラリア | PHP 8.3 8498
オーストラリア オーストラリア Australia/Adelaide Australia/Brisbane Australia/Broken_Hill Australia/Darwin Australia/Eucla Australia/Hobart Australia/Lindeman Australia/Lord_Howe Australia/Melbourne Australia/Perth Australia/Sydney ...
https://man.mtool.work/php/8.3/timezones.australia.html
ErrorException | PHP 8.3 8410
ErrorException (PHP 5 >= 5.1.0, PHP 7, PHP 8) はじめに エラー例外です。 クラス概要 class ErrorException extends Exception { /* プロパティ */ protected int $ severity = E_ERROR ; /* 継承したプロパティ */ protected string $ message = "" ; pri ... ; // 壊れたデータをアンシリアライズすると、エラーハンドラによって // 警告は ErrorException に変換されます。 unserialize ( 'broken data' ); ?> 上の例の出力は、 たとえば以下のようになります。 Fatal error: Uncaught ErrorException: unserialize(): Error at ... p:16 Stack trace: #0 [internal function]: {closure}(2, 'unserialize(): ...', 'test.php', 16) #1 test.php(16): unserialize('broken data') #2 {main} thrown in test.php on line 16 目次 ErrorException::__construct — 例外を作成する ErrorException::getSeveri ...
https://man.mtool.work/php/8.3/class.errorexception.html
ldap_connect_wallet — LDAP サーバーに接続する | PHP 8.3 7865
ldap_connect_wallet (PHP 8 >= 8.3.0) ldap_connect_wallet — LDAP サーバーに接続する 警告 この関数は PHP 8.5.0 で 非推奨 になります。この関数に頼らないことを強く推奨します。 説明 #[ \Deprecated ( since : "8.5" , message : "as it is broken sin ...
https://man.mtool.work/php/8.3/function.ldap-connect-wallet.html
RarArchive クラス | PHP 8.3 7689
RarArchive クラス (PECL rar >= 2.0.0) はじめに このクラスは RAR アーカイブをあらわします。これは複数のパーツで構成されることもあり、 中に RAR エントリ (ファイルやディレクトリ、そしてシンボリックリンクなどの特殊なオブジェクト) を含みます。 こ ... c function getEntries (): array | false public function getEntry ( string $entryname ): RarEntry | false public function isBroken (): bool public function isSolid (): bool public static function open ( string $filename , string $password = NULL , calla ... ble $volume_callback = NULL ): RarArchive | false public function setAllowBroken ( bool $allow_broken ): bool public function __toString (): string } 目次 RarArchive::close — Rar アーカイブをクローズし、 ... ーカイブからエントリの全一覧を取得する RarArchive::getEntry — Rar アーカイブからエントリオブジェクトを取得する RarArchive::isBroken — アーカイブが壊れている (未完成である) かどうかを調べる RarArchive::isSolid — RAR アーカイブがソリッドであるかどうかを調べ ...
https://man.mtool.work/php/8.3/class.rararchive.html
chunk_split — 文字列をより小さな部分に分割する | PHP 8.3 7689
chunk_split (PHP 4, PHP 5, PHP 7, PHP 8) chunk_split — 文字列をより小さな部分に分割する 説明 function chunk_split ( string $string , int $length = 76 , string $separator = "\r\n" ): string 文字列をより小さな部分に分割する際に使用され、 base ... G が発生し、 false を返していました。 例 例1 chunk_split() の例 <?php $data = 'This is quite a long string, which will get broken up because the line is going to be too long after base64 encoding it.' ; // RFC 2045 に基づき $data をフォーマットします $ ...
https://man.mtool.work/php/8.3/function.chunk-split.html
DateTimeZone::listAbbreviations — 夏時間、オフセットおよびタイムゾーン名を含む... 7601
DateTimeZone::listAbbreviations timezone_abbreviations_list (PHP 5 >= 5.2.0, PHP 7, PHP 8) DateTimeZone::listAbbreviations -- timezone_abbreviations_list — 夏時間、オフセットおよびタイムゾーン名を含む連想配列を返す 説明 オブジェクト指向型 p ... ffset] => 34200 [timezone_id] => Australia/Adelaide ) [1] => Array ( [dst] => [offset] => 34200 [timezone_id] => Australia/Broken_Hill ) [2] => Array ( [dst] => [offset] => 34200 [timezone_id] => Australia/Darwin ) [3] => Array ( [dst] => [offset] => 3 ...
https://man.mtool.work/php/8.3/datetimezone.listabbreviations.html
PREV 1 2 NEXT