« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 162 for Wrong (0.007 sec.)
Basic usage for LuaSandbox 10317
« 例 LuaSandbox » PHP Manual 例 Basic usage for LuaSandbox 検索 Basic usage for LuaSandbox Once you've compiled PHP with LuaSandbox support, you can begin using LuaSandbox to safely run user-provided Lua code. 例1 Execute some Lua code <?ph ... > function ( $string ) { echo " $string \n" ; }, 'error' => function () { throw new LuaSandboxRuntimeError ( "Something is wrong" ); } ] ); // Execute some Lua code, including callbacks into PHP and into Lua $luaCode = <<<EOF php.output( "Hello, world ... = $sandbox -> loadString ( 'return pcall( php.error )' )-> call (); assert ( ! $ok ); assert ( $message === 'Something is wrong' ); ?> 関連キーワード: LuaSandbox Lua sandbox php function frobnosticate return usage code call assert Execute new output ... string error LuaSandboxRuntimeError Something wrong luaCode ...
https://man.mtool.work/php/8.3/luasandbox.examples-basic.html
Basic usage for LuaSandbox 10317
« 例 LuaSandbox » PHP Manual 例 Basic usage for LuaSandbox 検索 Basic usage for LuaSandbox Once you've compiled PHP with LuaSandbox support, you can begin using LuaSandbox to safely run user-provided Lua code. 例1 Execute some Lua code <?ph ... > function ( $string ) { echo " $string \n" ; }, 'error' => function () { throw new LuaSandboxRuntimeError ( "Something is wrong" ); } ] ); // Execute some Lua code, including callbacks into PHP and into Lua $luaCode = <<<EOF php.output( "Hello, world ... = $sandbox -> loadString ( 'return pcall( php.error )' )-> call (); assert ( ! $ok ); assert ( $message === 'Something is wrong' ); ?> 関連キーワード: LuaSandbox sandbox frobnosticate return usage code call assert Execute output LuaSandboxRuntimeErro ... r Something wrong luaCode list frob loadString message Once compiled support begin using safely user ...
https://man.mtool.work/php/8.3/luasandbox.examples-basic.html
直前の Throwable を返す 9745
« Error::getMessage Error::getCode » PHP Manual Error 直前の Throwable を返す 検索 Error::getPrevious (PHP 7, PHP 8) Error::getPrevious — 直前の Throwable を返す 説明 final public function Error::getPrevious (): ? Throwable 直前の Throwable ... 出力します。 <?php class MyCustomError extends Error {} function doStuff () { try { throw new TypeError ( "You are doing it wrong!" , 112 ); } catch( Error $e ) { throw new MyCustomError ( "Something happened" , 911 , $e ); } } try { doStuff (); } catc ... ば以下のようになります。 /home/bjori/ex.php:8 Something happened (911) [MyCustomError] /home/bjori/ex.php:6 You are doing it wrong! (112) [TypeError] 参考 Throwable::getPrevious() - ひとつ前の Throwable を返す 関連キーワード: Error Throwable getPrevious ... 直前 パラメータ php MyCustomError getMessage getCode function class doStuff try throw new TypeError doing wrong catch Something ...
https://man.mtool.work/php/8.3/error.getprevious.html
直前の Throwable を返す 9745
« Error::getMessage Error::getCode » PHP Manual Error 直前の Throwable を返す 検索 Error::getPrevious (PHP 7, PHP 8) Error::getPrevious — 直前の Throwable を返す 説明 final public function Error::getPrevious (): ? Throwable 直前の Throwable ... 出力します。 <?php class MyCustomError extends Error {} function doStuff () { try { throw new TypeError ( "You are doing it wrong!" , 112 ); } catch( Error $e ) { throw new MyCustomError ( "Something happened" , 911 , $e ); } } try { doStuff (); } catc ... ば以下のようになります。 /home/bjori/ex.php:8 Something happened (911) [MyCustomError] /home/bjori/ex.php:6 You are doing it wrong! (112) [TypeError] 参考 Throwable::getPrevious() - ひとつ前の Throwable を返す 関連キーワード: Throwable getPrevious MyCus ... tomError getMessage getCode doStuff throw TypeError doing wrong catch Something happened home bjori final construct トレース ループ extends printf getFile getLine while 参考 ...
https://man.mtool.work/php/8.3/error.getprevious.html
前の例外(Throwable)を返す 9550
« Exception::getMessage Exception::getCode » PHP Manual Exception 前の例外(Throwable)を返す 検索 Exception::getPrevious (PHP 5 >= 5.3.0, PHP 7, PHP 8) Exception::getPrevious — 前の例外(Throwable)を返す 説明 final public function Exception:: ... MyCustomException extends Exception {} function doStuff () { try { throw new InvalidArgumentException ( "You are doing it wrong!" , 112 ); } catch( Exception $e ) { throw new MyCustomException ( "Something happened" , 911 , $e ); } } try { doStuff () ... 下のようになります。 /home/bjori/ex.php:8 Something happened (911) [MyCustomException] /home/bjori/ex.php:6 You are doing it wrong! (112) [InvalidArgumentException] 参考 Throwable::getPrevious() - ひとつ前の Throwable を返す 関連キーワード: Exception Th ... パラメータ php MyCustomException getMessage getCode function 発生 class doStuff try throw new InvalidArgumentException doing wrong catch ...
https://man.mtool.work/php/8.3/exception.getprevious.html
前の例外(Throwable)を返す 9550
« Exception::getMessage Exception::getCode » PHP Manual Exception 前の例外(Throwable)を返す 検索 Exception::getPrevious (PHP 5 >= 5.3.0, PHP 7, PHP 8) Exception::getPrevious — 前の例外(Throwable)を返す 説明 final public function Exception:: ... MyCustomException extends Exception {} function doStuff () { try { throw new InvalidArgumentException ( "You are doing it wrong!" , 112 ); } catch( Exception $e ) { throw new MyCustomException ( "Something happened" , 911 , $e ); } } try { doStuff () ... 下のようになります。 /home/bjori/ex.php:8 Something happened (911) [MyCustomException] /home/bjori/ex.php:6 You are doing it wrong! (112) [InvalidArgumentException] 参考 Throwable::getPrevious() - ひとつ前の Throwable を返す 関連キーワード: Exception Th ... rowable getPrevious MyCustomException getMessage getCode doStuff throw InvalidArgumentException doing wrong catch Something happened home bjori final construct トレース ループ extends printf getFile getLine while ...
https://man.mtool.work/php/8.3/exception.getprevious.html
Set a watcher function 8612
« Zookeeper::setLogStream ZookeeperConfig » PHP Manual Zookeeper Set a watcher function 検索 Zookeeper::setWatcher (PECL zookeeper >= 0.1.0) Zookeeper::setWatcher — Set a watcher function 説明 public function Zookeeper::setWatcher ( callabl ... を、失敗した場合に false を返します。 エラー / 例外 This method emits PHP error/warning when parameters count or types are wrong or fail to set watcher. 警告 Since version 0.3.0, this method emits ZookeeperException and its derivatives. 参考 Zookeeper ... synchronously setLogStream ZookeeperConfig callable watch server notify client changes 成功 warning parameters count types wrong fail Since ...
https://man.mtool.work/php/8.3/zookeeper.setwatcher.html
直近の接続コールに関するエラーコードを返す 8418
« mysqli::commit mysqli::$connect_error » PHP Manual mysqli 直近の接続コールに関するエラーコードを返す 検索 mysqli::$connect_errno mysqli_connect_errno (PHP 5, PHP 7, PHP 8) mysqli::$connect_errno -- mysqli_connect_errno — 直近の接続コールに ... F ); /* デフォルトのエラーメッセージを抑制するには、@ を使います。 */ $mysqli = @new mysqli ( 'localhost' , 'fake_user' , 'wrong_password' , 'does_not_exist' ); if ( $mysqli -> connect_errno ) { /* エラーをロギングする方法はお好きなものをどうぞ */ err ... ; /* デフォルトのエラーメッセージを抑制するには、@ を使います。 */ $link = @ mysqli_connect ( 'localhost' , 'fake_user' , 'wrong_password' , 'does_not_exist' ); if (! $link ) { /* エラーをロギングする方法はお好きなものをどうぞ */ error_log ( 'Connecti ... 接続 コール error エラーコード オブジェクト指向 int 手続き パラメータ php report エラーメッセージ 抑制 localhost fake user wrong ...
https://man.mtool.work/php/8.3/mysqli.connect-errno.html
直近の接続エラーの説明を返す 8418
« mysqli::$connect_errno mysqli::__construct » PHP Manual mysqli 直近の接続エラーの説明を返す 検索 mysqli::$connect_error mysqli_connect_error (PHP 5, PHP 7, PHP 8) mysqli::$connect_error -- mysqli_connect_error — 直近の接続エラーの説明を返 ... F ); /* デフォルトのエラーメッセージを抑制するには、@ を使います。 */ $mysqli = @new mysqli ( 'localhost' , 'fake_user' , 'wrong_password' , 'does_not_exist' ); if ( $mysqli -> connect_error ) { /* エラーをロギングする方法はお好きなものをどうぞ */ err ... ; /* デフォルトのエラーメッセージを抑制するには、@ を使います。 */ $link = @ mysqli_connect ( 'localhost' , 'fake_user' , 'wrong_password' , 'does_not_exist' ); if (! $link ) { /* エラーをロギングする方法はお好きなものをどうぞ */ error_log ( 'Connecti ... 続 errno エラーメッセージ コール エラーコード オブジェクト指向 string 手続き パラメータ php report 抑制 localhost fake user wrong ...
https://man.mtool.work/php/8.3/mysqli.connect-error.html
直近の接続コールに関するエラーコードを返す 8418
« mysqli::commit mysqli::$connect_error » PHP Manual mysqli 直近の接続コールに関するエラーコードを返す 検索 mysqli::$connect_errno mysqli_connect_errno (PHP 5, PHP 7, PHP 8) mysqli::$connect_errno -- mysqli_connect_errno — 直近の接続コールに ... F ); /* デフォルトのエラーメッセージを抑制するには、@ を使います。 */ $mysqli = @new mysqli ( 'localhost' , 'fake_user' , 'wrong_password' , 'does_not_exist' ); if ( $mysqli -> connect_errno ) { /* エラーをロギングする方法はお好きなものをどうぞ */ err ... ; /* デフォルトのエラーメッセージを抑制するには、@ を使います。 */ $link = @ mysqli_connect ( 'localhost' , 'fake_user' , 'wrong_password' , 'does_not_exist' ); if (! $link ) { /* エラーをロギングする方法はお好きなものをどうぞ */ error_log ( 'Connecti ... ワード: mysqli connect errno 直近 接続 エラーコード オブジェクト指向 手続き report エラーメッセージ 抑制 localhost fake user wrong password exist ロギング 方法 Connection link MySQL commit 番号 インスタンス ...
https://man.mtool.work/php/8.3/mysqli.connect-errno.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT