« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 162 for Errno (0.002 sec.)
mysqli::$errno — 直近の関数コールによるエラーコードを返す | PHP 8.3 10054
mysqli::$errno mysqli_errno (PHP 5, PHP 7, PHP 8) mysqli::$errno -- mysqli_errno — 直近の関数コールによるエラーコードを返す 説明 オブジェクト指向型 int $mysqli->errno ; 手続き型 function mysqli_errno ( mysqli $mysql ): int 直近の MySQLi 関数 ... り値 直近のコールが失敗した場合、エラーコードを返します。 ゼロは、何もエラーが発生しなかったことを示します。 例 例1 $mysqli->errno の例 オブジェクト指向型 <?php $mysqli = new mysqli ( "localhost" , "my_user" , "my_password" , "world" ); /* 接続状況をチェ ... ックします */ if ( $mysqli -> connect_errno ) { printf ( "Connect failed: %s\n" , $mysqli -> connect_error ); exit(); } if (! $mysqli -> query ( "SET a=1" )) { printf ... ( "Errorcode: %d\n" , $mysqli -> errno ); } /* 接続を閉じます */ $mysqli -> close (); ?> 手続き型 <?php $link = mysqli_connect ( "localhost" , "my_user" , "my_pa ...
https://man.mtool.work/php/8.3/mysqli.errno.html
SNMP クラス | PHP 8.3 9470
SNMP クラス (PHP 5 >= 5.4.0, PHP 7, PHP 8) はじめに SNMP セッションを表します。 クラス概要 class SNMP { /* 定数 */ public const int VERSION_1 ; public const int VERSION_2c ; public const int VERSION_2C ; public const int VERSION_3 ; public ... const int ERRNO_NOERROR ; public const int ERRNO_ANY ; public const int ERRNO_GENERIC ; public const int ERRNO_TIMEOUT ; public const int ... ERRNO_ERROR_IN_REPLY ; public const int ERRNO_OID_NOT_INCREASING ; public const int ERRNO_OID_PARSING_ERROR ; public const int ERRNO_MULTIPLE_SET_QUERIES ; /* プロパティ ... ion close (): bool public function get ( array | string $objectId , bool $preserveKeys = false ): mixed public function getErrno (): int public function getError (): string public function getnext ( array | string $objectId ): mixed public function se ...
https://man.mtool.work/php/8.3/class.snmp.html
mysqli::$connect_errno — 直近の接続コールに関するエラーコードを返す | PHP 8.3 9413
mysqli::$connect_errno mysqli_connect_errno (PHP 5, PHP 7, PHP 8) mysqli::$connect_errno -- mysqli_connect_errno — 直近の接続コールに関するエラーコードを返す 説明 オブジェクト指向型 int $mysqli->connect_errno ; 手続き型 function mysqli_conn ... ect_errno (): int 直近で試みた接続コールに関するエラー番号を返します。 パラメータ この関数にはパラメータはありません。 戻り値 直近で ... を示します。 この関数をコールしたインスタンスに関係なく、 直近の接続に関するエラーコードを返します。 例 例1 $mysqli->connect_errno の例 オブジェクト指向型 <?php mysqli_report ( MYSQLI_REPORT_OFF ); /* デフォルトのエラーメッセージを抑制するには、@ を使い ... ます。 */ $mysqli = @new mysqli ( 'localhost' , 'fake_user' , 'wrong_password' , 'does_not_exist' ); if ( $mysqli -> connect_errno ) { /* エラーをロギングする方法はお好きなものをどうぞ */ error_log ( 'Connection error: ' . $mysqli -> connect_errno ); } ...
https://man.mtool.work/php/8.3/mysqli.connect-errno.html
GearmanWorker::getErrno — Get errno | PHP 8.3 9219
GearmanWorker::getErrno (PECL gearman >= 0.5.0) GearmanWorker::getErrno — Get errno 説明 public function GearmanWorker::getErrno (): int Returns the value of errno in the case of a GEARMAN_ERRNO return value. パラメータ この関数にはパラメー ... タはありません。 戻り値 A valid errno. 参考 GearmanWorker::error() - Get the last error encountered 他のマニュアルの関連ページ Linux JM errno(3) Python errno Li ...
https://man.mtool.work/php/8.3/gearmanworker.geterrno.html
GearmanClient::getErrno — Get an errno value | PHP 8.3 9173
GearmanClient::getErrno (PECL gearman >= 0.5.0) GearmanClient::getErrno — Get an errno value 説明 public function GearmanClient::getErrno (): int Value of errno in the case of a GEARMAN_ERRNO return value. パラメータ この関数にはパラメータは ... ありません。 戻り値 A valid Gearman errno. 参考 GearmanClient::error() - Returns an error string for the last error encountered 他のマニュアルの関連ページ Linux JM ... errno(3) Python errno Linux JM matherr(3) Linux JM verr(3) Linux JM errx(3) Linux JM warnx(3) ...
https://man.mtool.work/php/8.3/gearmanclient.geterrno.html
fann_get_errno — Returns the last error number | PHP 8.3 8876
fann_get_errno (PECL fann >= 1.0.0) fann_get_errno — Returns the last error number 説明 function fann_get_errno ( resource $errdat ): int Returns the last error number. パラメータ errdat ニューラルネットワークリソースあるいはニューラルネット ... ワークトレーニングリソース。 戻り値 The error number, or false on error. 参考 fann_reset_errno() - Resets the last error number fann_get_errstr() - Returns the last errstr 他のマニュアルの関連ページ Python errno Linux ... JM errno(3) Django 2.0.13 Linux JM networks(5) Linux JM strtoq(3) Linux JM strtoll(3) ...
https://man.mtool.work/php/8.3/function.fann-get-errno.html
fann_reset_errno — Resets the last error number | PHP 8.3 8876
fann_reset_errno (PECL fann >= 1.0.0) fann_reset_errno — Resets the last error number 説明 function fann_reset_errno ( resource $errdat ): void Resets the last error number. パラメータ errdat ニューラルネットワークリソースあるいはニューラル ... ネットワークトレーニングリソース。 戻り値 値を返しません。 参考 fann_get_errno() - Returns the last error number fann_reset_errstr() - Resets the last error string 他のマニュアルの関連ページ Python err ... no Linux JM errno(3) Django 2.2.9 Django 1.11.27 DuckDB Data Chunks Django 3.0.1 ...
https://man.mtool.work/php/8.3/function.fann-reset-errno.html
pcntl_strerror — 指定した errno に対応するシステムのエラーメッセージを取得する ... 8727
pcntl_strerror (PHP 5 >= 5.3.4, PHP 7, PHP 8) pcntl_strerror — 指定した errno に対応するシステムのエラーメッセージを取得する 説明 function pcntl_strerror ( int $error_code ): string pcntl 関数が直近に失敗した際の、 指定された error_code ( errno ... pcntl_get_last_error() をコールすることで取得できます。 パラメータ error_code pcntl_get_last_error() が返した エラー番号( errno ) 戻り値 エラーメッセージを文字列で返します。 例 例1 pcntl_strerror() の例 このサンプルは、子プロセスが存在しない状況で、子 ... を待とうとします。 それに対応するエラーメッセージを出力します。 <?php $pid = pcntl_wait ( $status ); if ( $pid === - 1 ) { $errno = pcntl_get_last_error (); $message = pcntl_strerror ( $errno ); fwrite ( STDERR , 'pcntl_wait failed with errno ' . $errn ... o . ': ' . $message . PHP_EOL ); } 上の例の出力は、 たとえば以下のようになります。 pcntl_wait failed with errno 10: No child processes 参考 pcntl_get_last_error() - 直近の pcntl 関数が失敗したときのエラー番号を取得する 他のマニュアルの ...
https://man.mtool.work/php/8.3/function.pcntl-strerror.html
pcntl_get_last_error — 直近の pcntl 関数が失敗したときのエラー番号を取得する | ... 8624
pcntl_get_last_error (PHP 5 >= 5.3.4, PHP 7, PHP 8) pcntl_get_last_error — 直近の pcntl 関数が失敗したときのエラー番号を取得する 説明 function pcntl_get_last_error (): int pcntl 関数が直近に失敗した際に設定された エラー番号( errno ) を取得し ... ェックできます。 パラメータ この関数にはパラメータはありません。 戻り値 pcntl 関数が直近に失敗した際に設定された エラー番号( errno ) を取得します。 エラーがない場合は、0 を返します。 例 例1 pcntl_get_last_error() の例 このサンプルは、子プロセスが存在しな ... を待とうとします。 それに対応するエラーメッセージを出力します。 <?php $pid = pcntl_wait ( $status ); if ( $pid === - 1 ) { $errno = pcntl_get_last_error (); $message = pcntl_strerror ( $errno ); fwrite ( STDERR , 'pcntl_wait failed with errno ' . $errn ... o . ': ' . $message . PHP_EOL ); } 上の例の出力は、 たとえば以下のようになります。 pcntl_wait failed with errno 10: No child processes 参考 pcntl_strerror() - 指定した errno に対応するシステムのエラーメッセージを取得する 他のマニュアル ...
https://man.mtool.work/php/8.3/function.pcntl-get-last-error.html
mysqli_stmt::$errno — 直近のステートメントのコールに関するエラーコードを返す | ... 8624
mysqli_stmt::$errno mysqli_stmt_errno (PHP 5, PHP 7, PHP 8) mysqli_stmt::$errno -- mysqli_stmt_errno — 直近のステートメントのコールに関するエラーコードを返す 説明 オブジェクト指向型 int $mysqli_stmt->errno ; 手続き型 function mysqli_stmt_errno ... qli = new mysqli ( "localhost" , "my_user" , "my_password" , "world" ); /* 接続状況をチェックします */ if ( mysqli_connect_errno ()) { printf ( "Connect failed: %s\n" , mysqli_connect_error ()); exit(); } $mysqli -> query ( "CREATE TABLE myCountry LIK ... sqli -> query ( "DROP TABLE myCountry" ); /* クエリを実行します */ $stmt -> execute (); printf ( "Error: %d.\n" , $stmt -> errno ); /* ステートメントを閉じます */ $stmt -> close (); } /* 接続を閉じます */ $mysqli -> close (); ?> 例2 手続き型 <?php /* ... = mysqli_connect ( "localhost" , "my_user" , "my_password" , "world" ); /* 接続状況をチェックします */ if ( mysqli_connect_errno ()) { printf ( "Connect failed: %s\n" , mysqli_connect_error ()); exit(); } mysqli_query ( $link , "CREATE TABLE myCountry ...
https://man.mtool.work/php/8.3/mysqli-stmt.errno.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT