« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 269 for error message (0.002 sec.)
error (1311), message (576)
cubrid_error — Get the error message | PHP 8.3 11473
cubrid_error (PECL CUBRID >= 8.3.1) cubrid_error — Get the error message 説明 function cubrid_error ( resource $connection = ? ): string The cubrid_error() function is used to get the error message that occurred during the use of CUBRID API ... . Usually, it gets error message when API returns false as its return value. パラメータ connection The CUBRID connection. 戻り値 Error message that ... occurred. 例 例1 cubrid_error() example <?php $con = cubrid_connect ( 'localhost' , 33000 , 'demodb' , 'dba' , '' ); $req = cubrid_execute ( $con , "sel ... id , $name ) = cubrid_fetch ( $req )) echo $id , $name ; } else { echo "Error Code: " , cubrid_errno ( $con ); echo "Error Message: " , cubrid_error ( $con ); } ?> 上の例の出力は以下となります。 Error Code: -493 Error Message: Syntax: Unknown class "per ...
https://man.mtool.work/php/8.3/function.cubrid-error.html
SeasLog::error — Record error log information | PHP 8.3 11348
SeasLog::error (PECL seaslog >=1.0.0) SeasLog::error — Record error log information 説明 public static function SeasLog::error ( string $message , array $content = ? , string $logger = ? ): bool Record error log information. 注意 : "ERROR" ... - Runtime errors that do not require immediate action but should typically. パラメータ message The log message. content The `message` cont ... ain placeholders which implementors replace with values from content array. Sush as `message` is `log info from {NAME}` and `content` is `array('NAME' => neeke)`, the log information will `log info from neeke`. logg ... r setted by SeasLog::setLogger() . 戻り値 Return TRUE on record log information success, FALSE on failure. 例 例1 SeasLog::error() example <?php var_dump ( SeasLog :: error ( 'log message' )); //with content var_dump ( SeasLog :: error ( 'log message ...
https://man.mtool.work/php/8.3/seaslog.error.html
intl_get_error_message — 直近のエラーの説明を取得する | PHP 8.3 11135
intl_get_error_message (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) intl_get_error_message — 直近のエラーの説明を取得する 説明 function intl_get_error_message (): string 直近の国際化関数のコールによるエラーメッセージを取得します。 パラ ... メータ この関数にはパラメータはありません。 戻り値 直近の API 関数のコールで発生したエラーの説明を返します。 例 例1 intl_get_error_message() の例 <?php $bundle = resourcebundle_create ( 'en_US' , __DIR__ . '/does-not-exist' , false ); if ( $bundle === n ... ull ) { $errorCode = intl_get_error_code (); printf ( "Error name: %s\n" , intl_error_name ( $errorCode )); printf ( "Error message: %s\n ... " , intl_get_error_message ()); } 上の例の出力は以下となります。 Error name: U_MISSING_RESOURCE_ERROR Error message: resourcebundle_create(): Cannot ...
https://man.mtool.work/php/8.3/function.intl-get-error-message.html
error_log — 定義されたエラー処理ルーチンにエラーメッセージを送信する | PHP 8.3 11053
error_log (PHP 4, PHP 5, PHP 7, PHP 8) error_log — 定義されたエラー処理ルーチンにエラーメッセージを送信する 説明 function error_log ( string $message , int $message_type = 0 , ? string $destination = null , ? string $additional_headers = nu ... ll ): bool エラーメッセージを Web サーバーのエラーログあるいはファイルに送ります。 パラメータ message ログに記録されるエラーメッセージ。 message_type メッセージをどこに送るのかを指定します。以下の中から指定できます。 error_l ... og() ログタイプ 0 message は PHP のシステムロガーに送られ、 設定ディレクティブ error_log の値に応じて、 オペレーティングシステムのシステムログ機構を ... は常に true を返します。 変更履歴 バージョン 説明 8.0.0 destination と additional_headers は、nullable になりました。 例 例1 error_log() の例 <?php // データベースに接続できない場合、 // サーバーログを通してエラーを通知する。 if (! Ora_Logon ( $username ...
https://man.mtool.work/php/8.3/function.error-log.html
SeasLog::analyzerDetail — Get log detail by level, log_path, key_word, start, l... 10251
SeasLog::analyzerDetail (PECL seaslog >=1.1.6) SeasLog::analyzerDetail — Get log detail by level, log_path, key_word, start, limit, order 説明 public static function SeasLog::analyzerDetail ( string $level , string $log_path = ? , string $k ... 戻り値 Return results as array. 注意 : When `start`,`limit` is not NULL and in Windows, SeasLog will threw exception with message 'Param start and limit don't support Windows'. 例 例1 SeasLog::analyzerDetail() example <?php $result1 = SeasLog :: analyz ... erDetail ( SEASLOG_ERROR ); //with `logger` and `key_word` $result2 = SeasLog :: analyzerDetail ( SEASLOG_ERROR , 'test/logger/' , 'neeke' ); //wit ... h `start` and `limit` $result3 = SeasLog :: analyzerDetail ( SEASLOG_ERROR , 'test/logger/' , 'neeke' , 1 , 2 ); var_dump ( $result1 , $result2 , $result3 ); ?> 上の例の出力は、 たとえば以下のように ...
https://man.mtool.work/php/8.3/seaslog.analyzerdetail.html
msg_receive — メッセージキューからメッセージを受信する | PHP 8.3 10224
msg_receive (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) msg_receive — メッセージキューからメッセージを受信する 説明 function msg_receive ( SysvMessageQueue $queue , int $desired_message_type , int &$received_message_type , int $max_message_size , ... mixed &$message , bool $unserialize = true , int $flags = 0 , int &$error_code = null ): bool msg_receive() は、指定した queue から指定した ... desired_message_type の最初のメッセージを受信します。 パラメータ queue メッセージキュー desired_message_type desired_message_type が 0 の場 ... と組み合わせて使用すると、この関数は desired_message_type 以外の型をもつ 最初のメッセージを受信するようになります。 MSG_NOERROR このフラグを設定しておくと、メッセージが max_message_size より大きい場合に そのメッセージを max_message_size までに切り詰め ...
https://man.mtool.work/php/8.3/function.msg-receive.html
cubrid_errno — Return the numerical value of the error message from previous CU... 9842
cubrid_errno (PECL CUBRID >= 8.3.1) cubrid_errno — Return the numerical value of the error message from previous CUBRID operation 説明 function cubrid_errno ( resource $conn_identifier = ? ): int Returns the error number from the last CUBRI ... D function. The cubrid_errno() function is used to get the error code of the error that occurred during the API execution. Usually, it gets the error code when API returns false as its re ... the connection identifier is not specified, the last connection opened by cubrid_connect() is assumed. 戻り値 Returns the error number from the last CUBRID function, or 0 (zero) if no error occurred. 例 例1 cubrid_errno() example <?php $con = cubrid_ ... id , $name ) = cubrid_fetch ( $req )) echo $id , $name ; } else { echo "Error Code: " , cubrid_errno ( $con ); echo "Error Message: " , cubrid_error ( $con ); } ?> 上の例の出力は以下となります。 Error Code: -493 Error Message: Syntax: Unknown class "per ...
https://man.mtool.work/php/8.3/function.cubrid-errno.html
cubrid_error_msg — Get last error message for the most recent function call | P... 9698
cubrid_error_msg (PECL CUBRID >= 8.3.0) cubrid_error_msg — Get last error message for the most recent function call 説明 function cubrid_error_msg (): string The cubrid_error_msg() function is used to get the error message that occurred dur ... ing the use of CUBRID API. Usually, it gets error message when API returns false as its return value. パラメータ この関数にはパラメータはありません。 戻り値 Error message t ... hat occurred. 例 例1 cubrid_error_msg() example <?php $conn = cubrid_connect ( "localhost" , 33000 , "demodb" ); if (!@ cubrid_schema ( $conn , 100000 )) { ...
https://man.mtool.work/php/8.3/function.cubrid-error-msg.html
SeasLog::emergency — Record emergency log information | PHP 8.3 9598
SeasLog::emergency (PECL seaslog >=1.0.0) SeasLog::emergency — Record emergency log information 説明 public static function SeasLog::emergency ( string $message , array $content = ? , string $logger = ? ): bool Record emergency log informat ... ion. 注意 : "EMERGENCY" - System is unusable. パラメータ message The log message. content The `message` contain placeholders which implementors replace with values from content array. Sus ... h as `message` is `log info from {NAME}` and `content` is `array('NAME' => neeke)`, the log information will `log info from neeke`. logg ... information SeasLog::notice() - Record notice log information SeasLog::warning() - Record warning log information SeasLog::error() - Record error log information SeasLog::critical() - Record critical log information SeasLog::alert() - Record alert log ...
https://man.mtool.work/php/8.3/seaslog.emergency.html
SeasLog::info — Record info log information | PHP 8.3 9598
SeasLog::info (PECL seaslog >=1.0.0) SeasLog::info — Record info log information 説明 public static function SeasLog::info ( string $message , array $content = ? , string $logger = ? ): bool Record info log information. 注意 : "INFO" - Inte ... resting events.Emphasizes the running process of the application. パラメータ message The log message. content The `message` contain placeholders which implementors replace with values from content array. Sus ... h as `message` is `log info from {NAME}` and `content` is `array('NAME' => neeke)`, the log information will `log info from neeke`. logg ... information SeasLog::notice() - Record notice log information SeasLog::warning() - Record warning log information SeasLog::error() - Record error log information SeasLog::critical() - Record critical log information SeasLog::alert() - Record alert log ...
https://man.mtool.work/php/8.3/seaslog.info.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT