« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 274 for status (0.001 sec.)
GearmanClient::addTaskBackground — Add a background task to be run in parallel ... 9075
GearmanClient::addTaskBackground (PECL gearman >= 0.5.0) GearmanClient::addTaskBackground — Add a background task to be run in parallel 説明 public function GearmanClient::addTaskBackground ( string $function_name , string | int | float $wo ... er (); # set a couple of callbacks so we can track progress $gmc -> setCompleteCallback ( "reverse_complete" ); $gmc -> setStatusCallback ( "reverse_status" ); # add a task for the "reverse" function $task = $gmc -> addTask ( "reverse" , "Hello World!" ... l , "2" ); if (! $gmc -> runTasks ()) { echo "ERROR " . $gmc -> error () . "\n" ; exit; } echo "DONE\n" ; function reverse_status ( $task ) { echo "STATUS: " . $task -> unique () . ", " . $task -> jobHandle () . " - " . $task -> taskNumerator () . "/" ... = $job -> workload (); $workload_size = $job -> workloadSize (); echo "Workload: $workload ( $workload_size )\n" ; # This status loop is not needed, just showing how it works for ( $x = 0 ; $x < $workload_size ; $x ++) { echo "Sending status: " . ( $x ...
https://man.mtool.work/php/8.3/gearmanclient.addtaskbackground.html
GearmanClient::doStatus — Get the status for the running task | PHP 8.3 8354
GearmanClient::doStatus (PECL gearman >= 0.5.0) GearmanClient::doStatus — Get the status for the running task 説明 public function GearmanClient::doStatus (): array Returns the status for the running task. This should be used between repeat ... completion given as a fraction, with the first element the numerator and the second element the denomintor. 例 例1 Get the status of a long running job The worker in this example has an artificial delay added during processing of the string to be rever ... sed. After each delay it calls GearmanJob::status() which the client then picks up. <?php echo "Starting\n" ; # Create our client object. $gmclient = new GearmanClient (); ... various return packets and errors. switch( $gmclient -> returnCode ()) { case GEARMAN_WORK_DATA : break; case GEARMAN_WORK_STATUS : # get the current job status list( $numerator , $denominator )= $gmclient -> doStatus (); echo "Status: $numerator / $de ...
https://man.mtool.work/php/8.3/gearmanclient.dostatus.html
imap_status — 現在のメールボックス以外のメールボックスのステータス情報を返す | ... 8198
imap_status (PHP 4, PHP 5, PHP 7, PHP 8) imap_status — 現在のメールボックス以外のメールボックスのステータス情報を返す 説明 function imap_status ( IMAP\Connection $imap , string $mailbox , int $flags ): stdClass | false 指定したメールボックス ... のであれば、 imap.enable_insecure_rsh を無効にしておかなければ 危険 です。 flags 以下のフラグが使用できます。 SA_MESSAGES - $status->messages にメールボックスのメッセージ数を設定する SA_RECENT - $status->recent にメールボックスの最近のメッセージ数を設定す ... る SA_UNSEEN - $status->unseen にメールボックスの未読の(新規)メッセージ数を設定する SA_UIDNEXT - $status->uidnext にメールボックスの次の UID を設 ... 定する SA_UIDVALIDITY - メールボックスの UID がもはや有効ではない場合に変化する定数を $status->uidvalidity に設定する SA_ALL - 上記のものをすべて設定する 戻り値 この関数は、ステータス情報を含むオブジェクトを返します。 ...
https://man.mtool.work/php/8.3/function.imap-status.html
svn_status — Returns the status of working copy files and directories | PHP 8.3 8169
svn_status (PECL svn >= 0.1.0) svn_status — Returns the status of working copy files and directories 説明 function svn_status ( string $path , int $flags = 0 ): array Returns the status of working copy files and directories, giving modifica ... ons, deletions and other changes to items in the working copy. パラメータ path Local path to file or directory to retrieve status of. 注意 : 相対パスは、PHP バイナリが存在するディレクトリを基準として解決されます。呼び出しもとのスクリプトの作業ディレクト ... dirname(__FILE__) を使用してください。 flags Any combination of Svn::NON_RECURSIVE , Svn::ALL (regardless of modification status), Svn::SHOW_UPDATES (entries will be added for items that are out-of-date), Svn::NO_IGNORE (disregard svn:ignore propertie ... for new files) and Svn::IGNORE_EXTERNALS . 戻り値 Returns a numerically indexed array of associative arrays detailing the status of items in the repository: Array ( [0] => Array ( // information on item ) [1] => ... ) The information on the item is an ...
https://man.mtool.work/php/8.3/function.svn-status.html
Basic usage | PHP 8.3 8101
Basic usage 例1 Basic Gearman client and worker This example shows a very simple client and worker. The client sends a string to the job server, and the worker reverses the string and sends it back. The job is performed synchronously. <?php ... errors. switch( $gmclient -> returnCode ()) { case GEARMAN_WORK_DATA : echo "Data: $result \n" ; break; case GEARMAN_WORK_STATUS : list( $numerator , $denominator )= $gmclient -> doStatus (); echo "Status: $numerator / $denominator complete\n" ; break ... = $job -> workload (); $workload_size = $job -> workloadSize (); echo "Workload: $workload ( $workload_size )\n" ; # This status loop is not needed, just showing how it works for ( $x = 0 ; $x < $workload_size ; $x ++) { echo "Sending status: " . ( $x ... + 1 ) . "/ $workload_size complete\n" ; $job -> sendStatus ( $x , $workload_size ); sleep ( 1 ); } $result = strrev ( $workload ); echo "Result: $result \n" ; # Return what we want ...
https://man.mtool.work/php/8.3/gearman.examples-reverse.html
fdf_set_status — /STATUS キーの値を設定する | PHP 8.3 8072
fdf_set_status (PHP 4, PHP 5 < 5.3.0, PECL fdf SVN) fdf_set_status — /STATUS キーの値を設定する 説明 function fdf_set_status ( resource $fdf_document , string $status ): bool /STATUS キーの値を設定します。 クライアントが FDF とともにステータ ... に表示します パラメータ fdf_document fdf_create() 、 fdf_open() あるいは fdf_open_string() が返す FDF ドキュメントハンドル。 status 戻り値 成功した場合に true を、失敗した場合に false を返します。 参考 fdf_get_status() - /STATUS キーの値を得る 他のマニュ ... アルの関連ページ Docker status FastAPI レスポンスステータスコード FastAPI Status Codes Linux JM spu_run(2) FastAPI エラーハンドリング Linux JM packet(7) ...
https://man.mtool.work/php/8.3/function.fdf-set-status.html
pg_result_status — クエリ結果のステータスを取得する | PHP 8.3 8042
pg_result_status (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) pg_result_status — クエリ結果のステータスを取得する 説明 function pg_result_status ( PgSql\Result $result , int $mode = PGSQL_STATUS_LONG ): string | int pg_result_status() は、 PgSql\R ... な関数がありますが、特に) pg_execute() が返した PgSql\Result クラスのインスタンス。 mode result の数値ステータスを返す PGSQL_STATUS_LONG 、あるいは result のコマンドタグを返す PGSQL_STATUS_STRING のいずれかです。 指定しない場合は PGSQL_STATUS_LONG がデフ ... ォルトです。 戻り値 PGSQL_STATUS_LONG が指定された場合の戻り値は 以下のいずれかです。 PGSQL_EMPTY_QUERY , PGSQL_COMMAND_OK , PGSQL_TUPLES_OK , PGSQL_TUPLES ... クラスのインスタンスを期待するようになりました。 これより前のバージョンでは、 resource を期待していました。 例 例1 pg_result_status() の例 <?php // データベースに接続する $conn = pg_pconnect ( "dbname=publisher" ); // COPY を実行する $result = pg_query ( ...
https://man.mtool.work/php/8.3/function.pg-result-status.html
定義済み定数 | PHP 8.3 8042
定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 VARNISH_STATUS_SYNTAX ( int ) VARNISH_STATUS_UNKNOWN ( int ) VARNISH_STATUS_U ... NIMPL ( int ) VARNISH_STATUS_TOOFEW ( int ) VARNISH_STATUS_TOOMANY ( int ) VARNISH_STATUS_PARAM ( int ) VARNISH_STATUS_AUTH ( int ) VARNISH_STATUS_OK ( ... int ) VARNISH_STATUS_CANT ( int ) VARNISH_STATUS_COMMS ( int ) VARNISH_STATUS_CLOSE ( int ) VARNISH_CONFIG_IDENT ( string ) VARNISH_CONFIG_HOST ...
https://man.mtool.work/php/8.3/varnish.constants.html
uopz_get_exit_status — Retrieve the last set exit status | PHP 8.3 8013
uopz_get_exit_status (PECL uopz 5, PECL uopz , PECL uopz 7) uopz_get_exit_status — Retrieve the last set exit status 説明 function uopz_get_exit_status (): mixed Retrieves the last set exit status, i.e. the value passed to exit() . パラメー ... タ この関数にはパラメータはありません。 戻り値 This function returns the last exit status, or null if exit() has not been called. 例 例1 uopz_get_exit_status() example <?php exit( 123 ); echo uopz_get_exit_status ... er unconditional exit. 参考 uopz_allow_exit() - Allows control over disabled exit opcode 他のマニュアルの関連ページ Docker status FastAPI Status Codes FastAPI レスポンスステータスコード FastAPI Response Django 1.1.2 Linux JM spu_run(2) ...
https://man.mtool.work/php/8.3/function.uopz-get-exit-status.html
fdf_get_status — /STATUS キーの値を得る | PHP 8.3 7984
fdf_get_status (PHP 4, PHP 5 < 5.3.0, PECL fdf SVN) fdf_get_status — /STATUS キーの値を得る 説明 function fdf_get_status ( resource $fdf_document ): string /STATUS キーの値を取得します。 パラメータ fdf_document fdf_create() 、 fdf_open() あ ... るいは fdf_open_string() が返す FDF ドキュメントハンドル。 戻り値 キーの値を文字列で返します。 参考 fdf_set_status() - /STATUS キーの値を設定する 他のマニュアルの関連ページ Docker status FastAPI Status Codes FastAPI レスポンスステータスコ ...
https://man.mtool.work/php/8.3/function.fdf-get-status.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT