Results of 1 - 10 of about 334 for getCode (0.003 sec.)
- エラーコードを取得する 8984
- « Error::getPrevious Error::getFile » PHP Manual Error エラーコードを取得する 検索 Error::getCode (PHP 7, PHP 8) Error::getCode — エラーコードを取得する 説明 final public function Error::getCode (): int エラーコードを返します パラメータ この
... 関数にはパラメータはありません。 戻り値 エラーコードを int 型として返します 例 例1 Error::getCode() の例 <?php try { throw new Error ( "Some error message" , 30 ); } catch( Error $e ) { echo "The Error code is: " . $e -> ... getCode (); } ?> 上の例の出力は、 たとえば以下のようになります。 The Error code is: 30 参考 Throwable::getCode() - 例外コードを取得 ... する 関連キーワード: getCode エラーコード code getPrevious getFile final throw error message catch 参考 Throwable コード ...
-
https://man.mtool.work/php/8.3/error.getcode.html
- エラーコードを取得する 8920
- « Error::getPrevious Error::getFile » PHP Manual Error エラーコードを取得する 検索 Error::getCode (PHP 7, PHP 8) Error::getCode — エラーコードを取得する 説明 final public function Error::getCode (): int エラーコードを返します パラメータ この
... 関数にはパラメータはありません。 戻り値 エラーコードを int 型として返します 例 例1 Error::getCode() の例 <?php try { throw new Error ( "Some error message" , 30 ); } catch( Error $e ) { echo "The Error code is: " . $e -> ... getCode (); } ?> 上の例の出力は、 たとえば以下のようになります。 The Error code is: 30 参考 Throwable::getCode() - 例外コードを取得 ... する 関連キーワード: Error getCode エラーコード int パラメータ code getPrevious Search getFile final function 戻り値 php try throw new error message catch ec ...
-
https://man.mtool.work/php/8.3/error.getcode.html
- 例外コードを取得する 8683
- « Exception::getPrevious Exception::getFile » PHP Manual Exception 例外コードを取得する 検索 Exception::getCode (PHP 5, PHP 7, PHP 8) Exception::getCode — 例外コードを取得する 説明 final public function Exception::getCode (): int 例外コード
... tion クラスを継承したクラスでは、違う型を返すこともあります (たとえば PDOException は文字列を返します)。 例 例1 Exception::getCode() の例 <?php try { throw new Exception ( "Some error message" , 30 ); } catch( Exception $e ) { echo "The exception code i ... s: " . $e -> getCode (); } ?> 上の例の出力は、 たとえば以下のようになります。 The exception code is: 30 参考 Throwable::getCode() - 例外コードを ... 取得する 関連キーワード: Exception コード getCode exception code getPrevious getFile final 整数 継承 PDOException throw error message catch 参考 Throwable ...
-
https://man.mtool.work/php/8.3/exception.getcode.html
- 例外コードを取得する 8564
- « Exception::getPrevious Exception::getFile » PHP Manual Exception 例外コードを取得する 検索 Exception::getCode (PHP 5, PHP 7, PHP 8) Exception::getCode — 例外コードを取得する 説明 final public function Exception::getCode (): int 例外コード
... tion クラスを継承したクラスでは、違う型を返すこともあります (たとえば PDOException は文字列を返します)。 例 例1 Exception::getCode() の例 <?php try { throw new Exception ( "Some error message" , 30 ); } catch( Exception $e ) { echo "The exception code i ... s: " . $e -> getCode (); } ?> 上の例の出力は、 たとえば以下のようになります。 The exception code is: 30 参考 Throwable::getCode() - 例外コードを ... 取得する 関連キーワード: Exception 例外 コード getCode パラメータ クラス exception code getPrevious Search getFile final function int 戻り値 整数 継承 PDOException php try ...
-
https://man.mtool.work/php/8.3/exception.getcode.html
- Returns the Javascript's code 8199
- « MongoDB\BSON\Javascript::__construct MongoDB\BSON\Javascript::getScope » PHP Manual MongoDB\BSON\Javascript Returns the Javascript's code 検索 MongoDB\BSON\Javascript::getCode (mongodb >=1.2.0) MongoDB\BSON\Javascript::getCode — Returns t
... he Javascript's code 説明 final public function MongoDB\BSON\Javascript::getCode (): string パラメータ この関数にはパラメータはありません。 戻り値 Returns the Javascript's code. エラー / 例外 Throws Mong ... oDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\BSON\Javascript::getCode() example <?php $js = new MongoDB\BSON\Javascript ( 'function foo(bar) { return bar; }' ); var_dump ( $js -> getCode ()); ... の出力は以下となります。 string(33) "function foo(bar) { return bar; }" 参考 » BSON Types 関連キーワード: Javascript MongoDB getCode code return construct getScope mongodb final Throws Driver Exception InvalidArgumentException argument parsing errors exam ...
-
https://man.mtool.work/php/8.3/mongodb-bson-javascript.getcode.html
- Returns the Javascript's code 8145
- « MongoDB\BSON\Javascript::__construct MongoDB\BSON\Javascript::getScope » PHP Manual MongoDB\BSON\Javascript Returns the Javascript's code 検索 MongoDB\BSON\Javascript::getCode (mongodb >=1.2.0) MongoDB\BSON\Javascript::getCode — Returns t
... he Javascript's code 説明 final public function MongoDB\BSON\Javascript::getCode (): string パラメータ この関数にはパラメータはありません。 戻り値 Returns the Javascript's code. エラー / 例外 Throws Mong ... oDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\BSON\Javascript::getCode() example <?php $js = new MongoDB\BSON\Javascript ( 'function foo(bar) { return bar; }' ); var_dump ( $js -> getCode ()); ... の出力は以下となります。 string(33) "function foo(bar) { return bar; }" 参考 » BSON Types 関連キーワード: Javascript MongoDB getCode Returns code bar function string パラメータ js foo return construct Search getScope mongodb final 戻り値 例外 Throws ...
-
https://man.mtool.work/php/8.3/mongodb-bson-javascript.getcode.html
- Returns the JavascriptInterface's code 8081
- « MongoDB\BSON\JavascriptInterface MongoDB\BSON\JavascriptInterface::getScope » PHP Manual MongoDB\BSON\JavascriptInterface Returns the JavascriptInterface's code 検索 MongoDB\BSON\JavascriptInterface::getCode (mongodb >=1.3.0) MongoDB\BSON
... \JavascriptInterface::getCode — Returns the JavascriptInterface's code 説明 abstract public function MongoDB\BSON\JavascriptInterface::getCode (): strin ... パラメータ この関数にはパラメータはありません。 戻り値 Returns the JavascriptInterface's code. 参考 MongoDB\BSON\Javascript::getCode() - Returns the Javascript's code 関連キーワード: JavascriptInterface MongoDB code getCode Javascript getScope mongodb abs ...
-
https://man.mtool.work/php/8.3/mongodb-bson-javascriptinterface.getcode.html
- Returns the JavascriptInterface's code 7898
- « MongoDB\BSON\JavascriptInterface MongoDB\BSON\JavascriptInterface::getScope » PHP Manual MongoDB\BSON\JavascriptInterface Returns the JavascriptInterface's code 検索 MongoDB\BSON\JavascriptInterface::getCode (mongodb >=1.3.0) MongoDB\BSON
... \JavascriptInterface::getCode — Returns the JavascriptInterface's code 説明 abstract public function MongoDB\BSON\JavascriptInterface::getCode (): strin ... パラメータ この関数にはパラメータはありません。 戻り値 Returns the JavascriptInterface's code. 参考 MongoDB\BSON\Javascript::getCode() - Returns the Javascript's code 関連キーワード: JavascriptInterface MongoDB Returns code getCode パラメータ Javascript S ...
-
https://man.mtool.work/php/8.3/mongodb-bson-javascriptinterface.getcode.html
- Returns the WriteError's error code 7898
- « MongoDB\Driver\WriteError MongoDB\Driver\WriteError::getIndex » PHP Manual MongoDB\Driver\WriteError Returns the WriteError's error code 検索 MongoDB\Driver\WriteError::getCode (mongodb >=1.0.0) MongoDB\Driver\WriteError::getCode — Return
... s the WriteError's error code 説明 final public function MongoDB\Driver\WriteError::getCode (): int パラメータ この関数にはパラメータはありません。 戻り値 Returns the WriteError's error code. エラー / 例外 Throws M ... ongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\Driver\WriteError::getCode() example <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWrite ; $bulk -> insert ([ '_id' => ... } catch( MongoDB\Driver\Exception\BulkWriteException $e ) { var_dump ( $e -> getWriteResult ()-> getWriteErrors ()[ 0 ]-> getCode ()); } ?> 上の例の出力は、 たとえば以下のようになります。 int(11000) 関連キーワード: WriteError MongoDB Driver getCode Ret ...
-
https://man.mtool.work/php/8.3/mongodb-driver-writeerror.getcode.html
- Returns the WriteError's error code 7898
- « MongoDB\Driver\WriteError MongoDB\Driver\WriteError::getIndex » PHP Manual MongoDB\Driver\WriteError Returns the WriteError's error code 検索 MongoDB\Driver\WriteError::getCode (mongodb >=1.0.0) MongoDB\Driver\WriteError::getCode — Return
... s the WriteError's error code 説明 final public function MongoDB\Driver\WriteError::getCode (): int パラメータ この関数にはパラメータはありません。 戻り値 Returns the WriteError's error code. エラー / 例外 Throws M ... ongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\Driver\WriteError::getCode() example <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWrite ; $bulk -> insert ([ '_id' => ... } catch( MongoDB\Driver\Exception\BulkWriteException $e ) { var_dump ( $e -> getWriteResult ()-> getWriteErrors ()[ 0 ]-> getCode ()); } ?> 上の例の出力は、 たとえば以下のようになります。 int(11000) 関連キーワード: WriteError MongoDB Driver getCode cod ...
-
https://man.mtool.work/php/8.3/mongodb-driver-writeerror.getcode.html