« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 23 for runtime error (0.008 sec.)
runtime (56), error (1311)
parallel\Runtime::__construct — Runtime Construction | PHP 8.3 13894
parallel\Runtime::__construct (0.8.0) parallel\Runtime::__construct — Runtime Construction 説明 public function parallel\Runtime::__construct () Shall construct a new runtime without bootstrapping. public function parallel\Runtime::__constr ... uct ( string $bootstrap ) Shall construct a bootstrapped runtime. パラメータ bootstrap The location of a bootstrap file, generally an autoloader. Exceptions 警告 Shall throw parallel\Runt ... ime\Error if thread could not be created 警告 Shall throw parallel\Runtime\Bootstrap if bootstrapping failed 他のマニュアルの関連ペー ...
https://man.mtool.work/php/8.3/parallel-runtime.construct.html
parallel\Runtime::close — Runtime Graceful Join | PHP 8.3 13260
parallel\Runtime::close (0.8.0) parallel\Runtime::close — Runtime Graceful Join 説明 public function parallel\Runtime::close (): void Shall request that the runtime shutsdown. 注意 : Tasks scheduled for execution will be executed before the ... shutdown occurs. Exceptions 警告 Shall throw parallel\Runtime\Error\Closed if Runtime was already closed. 他のマニュアルの関連ページ Linux JM join(1) Linux JM sched(7) Django index Duc ...
https://man.mtool.work/php/8.3/parallel-runtime.close.html
parallel\run — Execution | PHP 8.3 13245
parallel\run (1.0.0) parallel\run — Execution 説明 function parallel\run ( Closure $task ): ? Future Shall schedule task for execution in parallel. function parallel\run ( Closure $task , array $argv ): ? Future Shall schedule task for exec ... ution in parallel, passing argv at execution time. Automatic Scheduling If a \parallel\Runtime internally created and cached by a previous call to parallel\run() is idle, it will be used to execute the task. If no \pa ... rallel\Runtime is idle parallel will create and cache a \parallel\Runtime . 注意 : \parallel\Runtime objects created by the programmer ar ... uture must not be ignored when the task contains a return or throw statement. Exceptions 警告 Shall throw parallel\Runtime\Error\Closed if parallel\Runtime was closed. 警告 Shall throw parallel\Runtime\Error\IllegalFunction if task is a closure create ...
https://man.mtool.work/php/8.3/parallel.run.html
parallel\Runtime::run — Execution | PHP 8.3 13088
parallel\Runtime::run (0.8.0) parallel\Runtime::run — Execution 説明 public function parallel\Runtime::run ( Closure $task ): ? Future Shall schedule task for execution in parallel. public function parallel\Runtime::run ( Closure $task , ar ... rallel\Future must not be ignored when the task contains a return or throw statement. Exceptions 警告 Shall throw parallel\Runtime\Error\Closed if parallel\Runtime was closed. 警告 Shall throw parallel\Runtime\Error\IllegalFunction if task is a closure ... created from an internal function. 警告 Shall throw parallel\Runtime\Error\IllegalInstruction if task contains illegal instructions. 警告 Shall throw parallel\Runtime\Error\IllegalParameter i ... f task accepts or argv contains illegal variables. 警告 Shall throw parallel\Runtime\Error\IllegalReturn if task returns illegally. 他のマニュアルの関連ページ Linux JM accept(2) Linux JM named(8) Python asyncio-ex ...
https://man.mtool.work/php/8.3/parallel-runtime.run.html
parallel\Runtime::kill — Runtime Join | PHP 8.3 13038
parallel\Runtime::kill (0.8.0) parallel\Runtime::kill — Runtime Join 説明 public function parallel\Runtime::kill (): void Shall attempt to force the runtime to shutdown. 注意 : Tasks scheduled for execution will not be executed, the current ... shall be interrupted. 警告 Internal function calls in progress cannot be interrupted. Exceptions 警告 Shall throw parallel\Runtime\Error\Closed if Runtime was closed. 他のマニュアルの関連ページ Linux JM kill(1) Linux JM kill(2) Docker kill Linux JM join ...
https://man.mtool.work/php/8.3/parallel-runtime.kill.html
定義済み定数 | PHP 8.3 12019
定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 SWOOLE_VERSION ( string ) Swoole version. SWOOLE_VERSION_ID ( int ) Swoole ve ... ( int ) Whether to listen for readable events. SWOOLE_EVENT_WRITE ( int ) Whether to listen for writable events. SWOOLE_STRERROR_SYSTEM ( int ) Convert the system errno no into error messages. SWOOLE_STRERROR_GAI ( int ) Convert the addr info errno no ... into error messages. SWOOLE_STRERROR_DNS ( int ) Convert the DNS errno no into error messages. SWOOLE_STRERROR_SWOOLE ( int ) Convert ... SWOOLE_ERROR_PROTOCOL_ERROR ( int ) Protocol error. SWOOLE_ERROR_WRONG_OPERATION ( int ) Wrong operation. SWOOLE_ERROR_PHP_RUNTIME_NOTICE ( int ) PHP runtime notice. SWOOLE_ERROR_FOR_TEST ( int ) For test. SWOOLE_ERROR_NO_PAYLOAD ( int ) No payload. SWO ...
https://man.mtool.work/php/8.3/swoole.constants.html
例 | PHP 8.3 10999
例 エラー処理機能を PHP で使用するための例を示します。 ファイルに(XML 形式で)情報を記録し、論理的に致命的なエラーの場合に、 開発者に電子メールを送信するようなエラー処理関数を定義します。 例1 スクリプト内でのエラー処理 <?php // 自分のエラーハ ... ンドリングを行います error_reporting ( 0 ); // ユーザーの定義したエラーハンドリング関数 function userErrorHandler ( $errno , $errmsg , $filename , $l ... i:s (T)" ); // エラー文字列の連想配列を定義します。 // 実際のところ、考慮する必要があるのは // E_WARNING、E_NOTICE、E_USER_ERROR、 // E_USER_WARNING そして E_USER_NOTICE だけです。 $errortype = array ( E_ERROR => 'Error' , E_WARNING => 'Warning' , E_PA ... Warning' , E_USER_ERROR => 'User Error' , E_USER_WARNING => 'User Warning' , E_USER_NOTICE => 'User Notice' , E_STRICT => 'Runtime Notice' , E_RECOVERABLE_ERROR => 'Catchable Fatal Error' ); // set of errors for which a var trace will be saved $user_err ...
https://man.mtool.work/php/8.3/errorfunc.examples.html
SeasLog::error — Record error log information | PHP 8.3 10787
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 ... 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 ... from {NAME}' ,array( 'NAME' => 'neeke' ))); //with tmp logger var_dump ( SeasLog :: error ( 'log message from {NAME}' ,array( 'NAME' => 'neeke' ), 'tmp_logger' )); var_dump ( SeasLog :: getBuffer ()); ?> 上の例の ...
https://man.mtool.work/php/8.3/seaslog.error.html
parallel\bootstrap — Bootstrapping | PHP 8.3 10755
parallel\bootstrap (1.0.0) parallel\bootstrap — Bootstrapping 説明 function parallel\bootstrap ( string $file ): void Shall use the provided file to bootstrap all runtimes created for automatic scheduling via parallel\run() . パラメータ fil ... e Path to the file to bootstrap all runtimes. 戻り値 値を返しません。 エラー / 例外 警告 Shall throw parallel\Runtime\Error\Bootstrap if previously called for this pr ... ocess. 警告 Shall throw parallel\Runtime\Error\Bootstrap if called after parallel\run() . 参考 parallel\Runtime::run 他のマニュアルの関連ページ Docker docker build ...
https://man.mtool.work/php/8.3/parallel.bootstrap.html
parallel\Future::value — Resolution | PHP 8.3 10240
parallel\Future::value (0.8.0) parallel\Future::value — Resolution 説明 public function parallel\Future::value (): mixed Shall return (and if necessary wait for) return from task Exceptions 警告 Shall throw parallel\Future\Error if waiting ... failed (internal error). 警告 Shall throw parallel\Future\Error\Killed if parallel\Runtime executing task was killed. 警告 Shall throw parallel\F ... uture\Error\Cancelled if task was cancelled. 警告 Shall throw parallel\Future\Error\Foreign if task raised an unrecognized uncaught ex ...
https://man.mtool.work/php/8.3/parallel-future.value.html
PREV 1 2 3 NEXT