« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 455 for Errors (0.008 sec.)
sqlsrv_errors — Returns error and warning information about the last SQLSRV ope... 11663
sqlsrv_errors (No version information available, might only be in Git) sqlsrv_errors — Returns error and warning information about the last SQLSRV operation performed 説明 function sqlsrv_errors ( int $errorsOrWarnings = ? ): mixed Returns ... error and warning information about the last SQLSRV operation performed. パラメータ errorsOrWarnings Determines whether error information, warning information, or both are returned. If this parameter is not suppli ... nd warning information are returned. The following are the supported values for this parameter: SQLSRV_ERR_ALL, SQLSRV_ERR_ERRORS, SQLSRV_ERR_WARNINGS. 戻り値 If errors and/or warnings occurred on the last sqlsrv operation, an array of arrays containin ... g error information is returned. If no errors and/or warnings occurred on the last sqlsrv operation, null is returned. The following table describes the structure of th ...
https://man.mtool.work/php/8.3/function.sqlsrv-errors.html
libxml_use_internal_errors — libxmlエラーを無効にし、ユーザーが必要に応じてエラ... 11343
libxml_use_internal_errors (PHP 5 >= 5.1.0, PHP 7, PHP 8) libxml_use_internal_errors — libxmlエラーを無効にし、ユーザーが必要に応じてエラー情報を取得できるようにする 説明 function libxml_use_internal_errors ( ? bool $use_errors = null ): bo ... ol libxml_use_internal_errors() により、 標準のlibxmlエラーを無効にし、ユーザーによるエラー処理を有効にすることができます。 パラメータ use_errors ユーザ ... e ) または無効 ( false ) にする。 無効にすると、既に存在する libxml のエラーもすべてクリアします。 戻り値 この関数は、 use_errors の前の値を返します。 変更履歴 バージョン 説明 8.0.0 use_errors は、nullable になりました。 これより前のバージョンでは、デフ ... ォルトは false でした。 例 例1 libxml_use_internal_errors() の例 この例では、libxml関数のエラー処理とこの関数の戻り値の 基本的な使い方を示しています。 <?php // ユーザーによるエラー ...
https://man.mtool.work/php/8.3/function.libxml-use-internal-errors.html
libxml_get_errors — エラー配列を取得する | PHP 8.3 8973
libxml_get_errors (PHP 5 >= 5.1.0, PHP 7, PHP 8) libxml_get_errors — エラー配列を取得する 説明 function libxml_get_errors (): array エラー配列を取得します。 パラメータ この関数にはパラメータはありません。 戻り値 エラーがバッファにある場合に ... LibXMLError オブジェクトの配列、 それ以外の場合に空の配列を返します。 例 例1 libxml_get_errors() の例 この例は、簡単な libxml エラーハンドラを構築する方法を示すものです。 <?php libxml_use_internal_errors ( true ); $xm ... ovie> </movies> XML; $doc = simplexml_load_string ( $xmlstr ); $xml = explode ( "\n" , $xmlstr ); if ( $doc === false ) { $errors = libxml_get_errors (); foreach ( $errors as $error ) { echo display_xml_error ( $error , $xml ); } libxml_clear_errors () ... -------------------------------------------- 参考 libxml_get_last_error() - libxmlから直近のエラーを取得する libxml_clear_errors() - libxmlエラーハンドラをクリアする 他のマニュアルの関連ページ Linux JM break(2) DuckDB Reading Faulty CSV Files ...
https://man.mtool.work/php/8.3/function.libxml-get-errors.html
実行時設定 | PHP 8.3 8349
実行時設定 php.ini の設定により動作が変化します。 エラーおよびロギング設定オプション 名前 デフォルト 変更可能 変更履歴 error_reporting NULL INI_ALL fatal_error_backtraces "1" INI_ALL PHP 8.5.0 以降で有効です。 display_errors "1" INI_ALL dis ... play_startup_errors "1" INI_ALL PHP 8.0.0 より前のバージョンでは、デフォルト値は "0" でした。 log_errors "0" INI_ALL log_errors_max_len "1024" ... INI_ALL PHP 8.0.0 以降は意味をなさなくなり、PHP 8.1.0 で削除されました。 ignore_repeated_errors "0" INI_ALL ignore_repeated_source "0" INI_ALL report_memleaks "1" INI_ALL PHP 8.5.0 以降で非推奨です。 track_errors "0" I ... NI_ALL PHP 7.2.0 以降で非推奨になり、PHP 8.0.0 で削除されました。 html_errors "1" INI_ALL xmlrpc_errors "0" INI_SYSTEM xmlrpc_error_number "0" INI_ALL docref_root "" INI_ALL docref_ext "" INI_ALL erro ...
https://man.mtool.work/php/8.3/errorfunc.configuration.html
pg_set_error_verbosity — pg_last_error() | PHP 8.3 8161
pg_set_error_verbosity (PHP 5 >= 5.1.0, PHP 7, PHP 8) pg_set_error_verbosity — pg_last_error() および pg_result_error() が返すメッセージの詳細度を指定する 説明 function pg_set_error_verbosity ( PgSql\Connection $connection = ? , int $verbos ... 返すメッセージの詳細度を指定します。 pg_set_error_verbosity() は詳細度を設定し、その接続の これまでの設定を返します。 PGSQL_ERRORS_TERSE モードでは、返されるメッセージは深刻度・概要 および 発生位置のみです。 これはたいていの場合 1 行に収まります。デフォ ... ルトのモード ( PGSQL_ERRORS_DEFAULT )では、それに加えて何らかの 詳細情報・ヒントあるいは状況フィールドを含みます(これらは複数行に またがる可能性があ ... ります)。 PGSQL_ERRORS_VERBOSE モードは、有効なフィールドをすべて含みます。詳細度の設定変更内容は それ以降に新しく作成した結果オブジェクトにのみ反 ...
https://man.mtool.work/php/8.3/function.pg-set-error-verbosity.html
libxml_clear_errors — libxmlエラーハンドラをクリアする | PHP 8.3 7595
libxml_clear_errors (PHP 5 >= 5.1.0, PHP 7, PHP 8) libxml_clear_errors — libxmlエラーハンドラをクリアする 説明 function libxml_clear_errors (): void libxml_clear_errors() は、libxmlエラーバッファをクリアします。 パラメータ この関数にはパラメ ... ータはありません。 戻り値 値を返しません。 参考 libxml_get_errors() - エラー配列を取得する libxml_get_last_error() - libxmlから直近のエラーを取得する 他のマニュアルの関連ページ Python logg ...
https://man.mtool.work/php/8.3/function.libxml-clear-errors.html
XML エラーの対応 | PHP 8.3 7595
XML エラーの対応 ドキュメント読み込み時の XML エラーに対処するのは非常にシンプルな作業です。 libxml の機能を使うと、 ドキュメント読み込み時のすべての XML エラーを抑制して後からそれを処理することができます。 libxml_get_errors() が返す LibXML ... essage や line 、 column (場所) といったプロパティが含まれます。 例1 壊れた XML 文字列の読み込み <?php libxml_use_internal_errors ( true ); $sxe = simplexml_load_string ( "<?xml version='1.0'><broken><xml></broken>" ); if ( $sxe === false ) { echo "Fai ... led loading XML\n" ; foreach( libxml_get_errors () as $error ) { echo "\t" , $error -> message ; } } ?> 上の例の出力は以下となります。 Failed loading XML Blank needed her ... 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 他のマニュアルの関連ページ DuckDB Internal Errors Linux JM pldd(1) ...
https://man.mtool.work/php/8.3/simplexml.examples-errors.html
ZMQPoll::getLastErrors — Get poll errors | PHP 8.3 7226
ZMQPoll::getLastErrors (PECL zmq >= 0.5.0) ZMQPoll::getLastErrors — Get poll errors 説明 public function ZMQPoll::getLastErrors (): array Returns the ids of the objects that had errors in the last poll. パラメータ この関数にはパラメータはあ ... りません。 戻り値 Returns an array containing ids for the items that had errors in the last poll. Empty array is returned if there were no errors. 他のマニュアルの関連ページ Python 404 ...
https://man.mtool.work/php/8.3/zmqpoll.getlasterrors.html
imap_errors — 発生したすべての IMAP エラーを返す | PHP 8.3 6783
imap_errors (PHP 4, PHP 5, PHP 7, PHP 8) imap_errors — 発生したすべての IMAP エラーを返す 説明 function imap_errors (): array | false ページのリクエストの間かエラースタックがリセットされて以来 生じた全ての IMAP エラー (存在すれば) を返します ... 。 imap_errors() がコールされると、 処理の終了後にエラースタックがクリアされます。 パラメータ この関数にはパラメータはありません。 戻り値 ... この関数は、最後に imap_errors() コールを行ってから、またはそのページの処理を開始してから 発生した全ての IMAP エラーメッセージの配列を返します。 エラーメ ...
https://man.mtool.work/php/8.3/function.imap-errors.html
xdiff_file_patch — ファイルに unified diff 形式のパッチを適用する | PHP 8.3 6348
xdiff_file_patch (PECL xdiff >= 0.2.0) xdiff_file_patch — ファイルに unified diff 形式のパッチを適用する 説明 function xdiff_file_patch ( string $file , string $patch , string $dest , int $flags = DIFF_PATCH_NORMAL ): mixed ファイル file に ... unified diff 形式のパッチをファイルに適用します。 <?php $old_version = 'my_script-1.0.php' ; $patch = 'my_script.patch' ; $errors = xdiff_file_patch ( $old_version , $patch , 'my_script-1.1.php' ); if ( is_string ( $errors )) { echo "Rejects:\n" ; echo ... $errors ; } ?> 例2 逆パッチの例 以下のコードは、パッチを逆方向に適用します。 <?php $new_version = 'my_script-1.1.php' ; $patch = ' ... my_script.patch' ; $errors = xdiff_file_patch ( $new_version , $patch , 'my_script-1.0.php' , XDIFF_PATCH_REVERSE ); if ( is_string ( $errors )) { ec ...
https://man.mtool.work/php/8.3/function.xdiff-file-patch.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT