« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 51 for submit (0.006 sec.)
Submits an object for execution 12499
« Pool::shutdown Pool::submitTo » PHP Manual Pool Submits an object for execution 検索 Pool::submit (PECL pthreads >= 2.0.0) Pool::submit — Submits an object for execution 説明 public function Pool::submit ( Threaded $task ): int Submit the ... Worker in the Pool パラメータ task The task for execution 戻り値 the identifier of the Worker executing the object 例 例1 Submitting Tasks <?php class MyWork extends Threaded { public function run () { /* ... */ } } class MyWorker extends Worker { pub ... thing ; } public function run () { /** ... **/ } } $pool = new Pool ( 8 , \MyWorker ::class, [new Something ()]); $pool -> submit (new MyWork ()); var_dump ( $pool ); ?> 上の例の出力は以下となります。 object(Pool)#1 (6) { ["size":protected]=> int(8) [" ... Something)#2 (0) { } } ["last":protected]=> int(1) } 関連キーワード: Pool protected MyWorker Something something execution submit task Submits Worker MyWork pool Threaded extends shutdown submitTo pthreads Submit next identifier executing Submitting Ta ...
https://man.mtool.work/php/8.3/pool.submit.html
Submits an object for execution 11600
« Pool::shutdown Pool::submitTo » PHP Manual Pool Submits an object for execution 検索 Pool::submit (PECL pthreads >= 2.0.0) Pool::submit — Submits an object for execution 説明 public function Pool::submit ( Threaded $task ): int Submit the ... Worker in the Pool パラメータ task The task for execution 戻り値 the identifier of the Worker executing the object 例 例1 Submitting Tasks <?php class MyWork extends Threaded { public function run () { /* ... */ } } class MyWorker extends Worker { pub ... thing ; } public function run () { /** ... **/ } } $pool = new Pool ( 8 , \MyWorker ::class, [new Something ()]); $pool -> submit (new MyWork ()); var_dump ( $pool ); ?> 上の例の出力は以下となります。 object(Pool)#1 (6) { ["size":protected]=> int(8) [" ... ng)#2 (0) { } } ["last":protected]=> int(1) } 関連キーワード: object Pool protected MyWorker Something something execution submit function task class Submits int Worker MyWork pool new array Threaded extends ...
https://man.mtool.work/php/8.3/pool.submit.html
Submits a task to a specific worker for execution 10790
« Pool::submit Volatile » PHP Manual Pool Submits a task to a specific worker for execution 検索 Pool::submitTo (PECL pthreads >= 2.0.0) Pool::submitTo — Submits a task to a specific worker for execution 説明 public function Pool::submitTo ... ( int $worker , Threaded $task ): int Submit a task to the specified worker in the pool. The workers are indexed from 0, and will only exist if the pool has needed to ... ask onto, indexed from 0 . task The task for execution. 戻り値 The identifier of the worker that accepted the task. 例 例1 Submitting tasks to a specific worker <?php class Task extends Threaded { public function run () { var_dump ( Thread :: getCurren ... tThreadID ()); } } $pool = new Pool ( 2 ); $pool -> submit (new Task ()); for ( $i = 0 ; $i < 5 ; ++ $i ) { $pool -> submitTo ( 0 , new Task ()); // stack all tasks onto the first w ...
https://man.mtool.work/php/8.3/pool.submitTo.html
フィールドの投稿フォームアクションを設定する 9891
« fdf_set_status fdf_set_target_frame » PHP Manual FDF 関数 フィールドの投稿フォームアクションを設定する 検索 fdf_set_submit_form_action (PHP 4 >= 4.0.2, PHP 5 < 5.3.0, PECL fdf SVN) fdf_set_submit_form_action — フィールドの投稿フォームアク ... ションを設定する 説明 function fdf_set_submit_form_action ( resource $fdf_document , string $fieldname , int $trigger , string $script , int $flags ): bool 指定したフィ ... action() - フィールドの javascript アクションを設定する 関連キーワード: fdf フィールド set アクション 投稿 フォーム action submit form string open document fieldname int trigger script flags 場合 javascript status ...
https://man.mtool.work/php/8.3/function.fdf-set-submit-form-action.html
Submits a task to a specific worker for execution 9816
« Pool::submit Volatile » PHP Manual Pool Submits a task to a specific worker for execution 検索 Pool::submitTo (PECL pthreads >= 2.0.0) Pool::submitTo — Submits a task to a specific worker for execution 説明 public function Pool::submitTo ... ( int $worker , Threaded $task ): int Submit a task to the specified worker in the pool. The workers are indexed from 0, and will only exist if the pool has needed to ... ask onto, indexed from 0 . task The task for execution. 戻り値 The identifier of the worker that accepted the task. 例 例1 Submitting tasks to a specific worker <?php class Task extends Threaded { public function run () { var_dump ( Thread :: getCurren ... tThreadID ()); } } $pool = new Pool ( 2 ); $pool -> submit (new Task ()); for ( $i = 0 ; $i < 5 ; ++ $i ) { $pool -> submitTo ( 0 , new Task ()); // stack all tasks onto the first w ...
https://man.mtool.work/php/8.3/pool.submitTo.html
フィールドの投稿フォームアクションを設定する 9816
« fdf_set_status fdf_set_target_frame » PHP Manual FDF 関数 フィールドの投稿フォームアクションを設定する 検索 fdf_set_submit_form_action (PHP 4 >= 4.0.2, PHP 5 < 5.3.0, PECL fdf SVN) fdf_set_submit_form_action — フィールドの投稿フォームアク ... ションを設定する 説明 function fdf_set_submit_form_action ( resource $fdf_document , string $fieldname , int $trigger , string $script , int $flags ): bool 指定したフィ ... fdf_set_javascript_action() - フィールドの javascript アクションを設定する 関連キーワード: アクション 投稿 フォーム action submit form document fieldname trigger script flags javascript status target frame resource create ドキュメント ハンドル 成功 参考 ...
https://man.mtool.work/php/8.3/function.fdf-set-submit-form-action.html
Shutdown all workers 9411
« Pool::resize Pool::submit » PHP Manual Pool Shutdown all workers 検索 Pool::shutdown (PECL pthreads >= 2.0.0) Pool::shutdown — Shutdown all workers 説明 public function Pool::shutdown (): void Shuts down all of the workers in the pool. Th ... is will block until all submitted tasks have been executed. パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 例 例1 Shutting down ... aded { public function run () { usleep ( 500000 ); } } $pool = new Pool ( 4 ); for ( $i = 0 ; $i < 10 ; ++ $i ) { $pool -> submit (new Task ()); } $pool -> shutdown (); // blocks until all submitted tasks have finished executing 関連キーワード: Pool po ... ol workers shutdown Shutdown submit function down until submitted tasks パラメータ Task new resize Search pthreads void Shuts block ...
https://man.mtool.work/php/8.3/pool.shutdown.html
Shutdown all workers 9411
« Pool::resize Pool::submit » PHP Manual Pool Shutdown all workers 検索 Pool::shutdown (PECL pthreads >= 2.0.0) Pool::shutdown — Shutdown all workers 説明 public function Pool::shutdown (): void Shuts down all of the workers in the pool. Th ... is will block until all submitted tasks have been executed. パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 例 例1 Shutting down ... aded { public function run () { usleep ( 500000 ); } } $pool = new Pool ( 4 ); for ( $i = 0 ; $i < 10 ; ++ $i ) { $pool -> submit (new Task ()); } $pool -> shutdown (); // blocks until all submitted tasks have finished executing 関連キーワード: Pool po ... ol workers shutdown Shutdown submit down until submitted tasks Task resize pthreads Shuts block executed Shutting extends Threaded usleep blocks finished exec ...
https://man.mtool.work/php/8.3/pool.shutdown.html
The Pool class 8917
« Collectable::isGarbage Pool::collect » PHP Manual pthreads The Pool class 検索 The Pool class (PECL pthreads >= 2.0.0) はじめに A Pool is a container for, and controller of, an adjustable number of Workers. Pooling provides a higher level ... allable $collector = ? ): int public function resize ( int $size ): void public function shutdown (): void public function submit ( Threaded $task ): int public function submitTo ( int $worker , Threaded $task ): int } プロパティ size maximum number of ... ol::__construct — Creates a new Pool of Workers Pool::resize — Resize the Pool Pool::shutdown — Shutdown all workers Pool::submit — Submits an object for execution Pool::submitTo — Submits a task to a specific worker for execution 関連キーワード: Pool ... rkers protected size workers collect pthreads Worker references ctor last task number プロパティ construct resize shutdown submit Threaded submitTo worker Submits execution Collectable isGarbage ...
https://man.mtool.work/php/8.3/class.pool.html
外部から来る変数 8842
« 可変変数 定数 » PHP Manual 変数 外部から来る変数 検索 外部から来る変数 HTML フォーム (GET と POST) フォームが PHP スクリプトに投稿された時、フォームから渡された全て の変数は PHP により自動的にスクリプトから使用可能となります。 この情報にア ... hod="post"> Name: <input type="text" name="username" /><br /> Email: <input type="text" name="email" /><br /> <input type="submit" name="submit" value="Submit me!" /> </form> HTML フォームからデータにアクセスする方法は二種類だけしかありません。 現在使え ... ue="guinness">Guinness</option> <option value="stuttgarter">Stuttgarter Schwabenbrau</option> </select><br /> <input type="submit" value="submit me!" /> </form> 注意 : 外部の変数の名前が、正しい配列の文法で始まっていた場合、 後に続く文字は黙って無視され ... ます。 たとえば、 <input name="foo[bar]baz"> は $_REQUEST['foo']['bar'] になります。 IMAGE SUBMIT 変数名 フォームを投稿する際、次のタグのように標準の投稿ボタンの代わりに 画像を使用することができます。 <input type="image" ...
https://man.mtool.work/php/8.3/language.variables.external.html
PREV 1 2 3 4 5 6 NEXT