« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 141 for reverse (0.004 sec.)
Basic Gearman client and worker, submitting tasks 10109
« Basic Gearman client and worker, background GearmanClient » PHP Manual 例 Basic Gearman client and worker, submitting tasks 検索 Basic Gearman client and worker, submitting tasks 例1 Basic Gearman client and worker, submitting tasks In th ... is example, the basic reverse client extended to run two tasks in parallel. The reverse worker is unchanged except to add sending of data back during pr ... ent (); # add the default server (localhost) $gmc -> addServer (); # register some callbacks $gmc -> setCreatedCallback ( "reverse_created" ); $gmc -> setDataCallback ( "reverse_data" ); $gmc -> setStatusCallback ( "reverse_status" ); $gmc -> setComplet ... eCallback ( "reverse_complete" ); $gmc -> setFailCallback ( "reverse_fail" ); # set some arbitrary application data $data [ 'foo' ] = 'bar' ; # ...
https://man.mtool.work/php/8.3/gearman.examples-reverse-task.html
Basic Gearman client and worker, submitting tasks 10073
« Basic Gearman client and worker, background GearmanClient » PHP Manual 例 Basic Gearman client and worker, submitting tasks 検索 Basic Gearman client and worker, submitting tasks 例1 Basic Gearman client and worker, submitting tasks In th ... is example, the basic reverse client extended to run two tasks in parallel. The reverse worker is unchanged except to add sending of data back during pr ... ent (); # add the default server (localhost) $gmc -> addServer (); # register some callbacks $gmc -> setCreatedCallback ( "reverse_created" ); $gmc -> setDataCallback ( "reverse_data" ); $gmc -> setStatusCallback ( "reverse_status" ); $gmc -> setComplet ... eCallback ( "reverse_complete" ); $gmc -> setFailCallback ( "reverse_fail" ); # set some arbitrary application data $data [ 'foo' ] = 'bar' ; # ...
https://man.mtool.work/php/8.3/gearman.examples-reverse-task.html
Basic Gearman client and worker, background 8527
« Basic usage Basic Gearman client and worker, submitting tasks » PHP Manual 例 Basic Gearman client and worker, background 検索 Basic Gearman client and worker, background 例1 Basic Gearman client and worker, background This example shows ... a very simple client and worker. The client sends a string to the job server as a background job, and the worker reverses the string. Note that since the work is performed asynchronously, the client does not wait for the job to complete and ex ... our client object $gmclient = new GearmanClient (); # add the default server (localhost) $gmclient -> addServer (); # run reverse client in the background $job_handle = $gmclient -> doBackground ( "reverse" , "this is a test" ); if ( $gmclient -> retur ... bject. $gmworker = new GearmanWorker (); # Add default server (localhost). $gmworker -> addServer (); # Register function "reverse" with the server. Change the worker function to # "reverse_fn_fast" for a faster worker with no output. $gmworker -> addFu ...
https://man.mtool.work/php/8.3/gearman.examples-reverse-bg.html
Basic Gearman client and worker, background 8479
« Basic usage Basic Gearman client and worker, submitting tasks » PHP Manual 例 Basic Gearman client and worker, background 検索 Basic Gearman client and worker, background 例1 Basic Gearman client and worker, background This example shows ... a very simple client and worker. The client sends a string to the job server as a background job, and the worker reverses the string. Note that since the work is performed asynchronously, the client does not wait for the job to complete and ex ... our client object $gmclient = new GearmanClient (); # add the default server (localhost) $gmclient -> addServer (); # run reverse client in the background $job_handle = $gmclient -> doBackground ( "reverse" , "this is a test" ); if ( $gmclient -> retur ... bject. $gmworker = new GearmanWorker (); # Add default server (localhost). $gmworker -> addServer (); # Register function "reverse" with the server. Change the worker function to # "reverse_fn_fast" for a faster worker with no output. $gmworker -> addFu ...
https://man.mtool.work/php/8.3/gearman.examples-reverse-bg.html
Basic usage 8289
« 例 Basic Gearman client and worker, background » PHP Manual 例 Basic usage 検索 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 worke ... r reverses the string and sends it back. The job is performed synchronously. <?php # Create our client object. $gmclient = new Gearm ... anClient (); # Add default server (localhost). $gmclient -> addServer (); echo "Sending job\n" ; # Send reverse job do { $result = $gmclient -> doNormal ( "reverse" , "Hello!" ); # Check for various return packets and errors. switch( ... bject. $gmworker = new GearmanWorker (); # Add default server (localhost). $gmworker -> addServer (); # Register function "reverse" with the server. Change the worker function to # "reverse_fn_fast" for a faster worker with no output. $gmworker -> addFu ...
https://man.mtool.work/php/8.3/gearman.examples-reverse.html
Basic usage 8289
« 例 Basic Gearman client and worker, background » PHP Manual 例 Basic usage 検索 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 worke ... r reverses the string and sends it back. The job is performed synchronously. <?php # Create our client object. $gmclient = new Gearm ... anClient (); # Add default server (localhost). $gmclient -> addServer (); echo "Sending job\n" ; # Send reverse job do { $result = $gmclient -> doNormal ( "reverse" , "Hello!" ); # Check for various return packets and errors. switch( ... bject. $gmworker = new GearmanWorker (); # Add default server (localhost). $gmworker -> addServer (); # Register function "reverse" with the server. Change the worker function to # "reverse_fn_fast" for a faster worker with no output. $gmworker -> addFu ...
https://man.mtool.work/php/8.3/gearman.examples-reverse.html
Run a single task and return a result [deprecated] 8123
« GearmanClient::data GearmanClient::doBackground » PHP Manual GearmanClient Run a single task and return a result [deprecated] 検索 GearmanClient::do (PECL gearman >= 0.5.0) GearmanClient::do — Run a single task and return a result [deprec ... (); # Add default server (localhost). $gmclient -> addServer (); echo "Sending job\n" ; $result = $gmclient -> doNormal ( "reverse" , "Hello!" ); echo "Success: $result \n" ; ?> <?php echo "Starting\n" ; # Create our worker object. $gmworker = new Gearm ... anWorker (); # Add default server (localhost). $gmworker -> addServer (); # Register function "reverse" with the server. Change the worker function to # "reverse_fn_fast" for a faster worker with no output. $gmworker -> addFu ... nction ( "reverse" , "reverse_fn" ); print "Waiting for job...\n" ; while( $gmworker -> work ()) { if ( $gmworker -> returnCode () != GEARMA ...
https://man.mtool.work/php/8.3/gearmanclient.do.html
Run a single task and return a result 8123
« GearmanClient::doLowBackground GearmanClient::doStatus » PHP Manual GearmanClient Run a single task and return a result 検索 GearmanClient::doNormal (No version information available, might only be in Git) GearmanClient::doNormal — Run a ... (); # Add default server (localhost). $gmclient -> addServer (); echo "Sending job\n" ; $result = $gmclient -> doNormal ( "reverse" , "Hello!" ); echo "Success: $result \n" ; ?> <?php echo "Starting\n" ; # Create our worker object. $gmworker = new Gearm ... anWorker (); # Add default server (localhost). $gmworker -> addServer (); # Register function "reverse" with the server. Change the worker function to # "reverse_fn_fast" for a faster worker with no output. $gmworker -> addFu ... nction ( "reverse" , "reverse_fn" ); print "Waiting for job...\n" ; while( $gmworker -> work ()) { if ( $gmworker -> returnCode () != GEARMA ...
https://man.mtool.work/php/8.3/gearmanclient.donormal.html
Run a single task and return a result [deprecated] 8123
« GearmanClient::data GearmanClient::doBackground » PHP Manual GearmanClient Run a single task and return a result [deprecated] 検索 GearmanClient::do (PECL gearman >= 0.5.0) GearmanClient::do — Run a single task and return a result [deprec ... (); # Add default server (localhost). $gmclient -> addServer (); echo "Sending job\n" ; $result = $gmclient -> doNormal ( "reverse" , "Hello!" ); echo "Success: $result \n" ; ?> <?php echo "Starting\n" ; # Create our worker object. $gmworker = new Gearm ... anWorker (); # Add default server (localhost). $gmworker -> addServer (); # Register function "reverse" with the server. Change the worker function to # "reverse_fn_fast" for a faster worker with no output. $gmworker -> addFu ... nction ( "reverse" , "reverse_fn" ); print "Waiting for job...\n" ; while( $gmworker -> work ()) { if ( $gmworker -> returnCode () != GEARMA ...
https://man.mtool.work/php/8.3/gearmanclient.do.html
Run a single task and return a result 8123
« GearmanClient::doLowBackground GearmanClient::doStatus » PHP Manual GearmanClient Run a single task and return a result 検索 GearmanClient::doNormal (No version information available, might only be in Git) GearmanClient::doNormal — Run a ... (); # Add default server (localhost). $gmclient -> addServer (); echo "Sending job\n" ; $result = $gmclient -> doNormal ( "reverse" , "Hello!" ); echo "Success: $result \n" ; ?> <?php echo "Starting\n" ; # Create our worker object. $gmworker = new Gearm ... anWorker (); # Add default server (localhost). $gmworker -> addServer (); # Register function "reverse" with the server. Change the worker function to # "reverse_fn_fast" for a faster worker with no output. $gmworker -> addFu ... nction ( "reverse" , "reverse_fn" ); print "Waiting for job...\n" ; while( $gmworker -> work ()) { if ( $gmworker -> returnCode () != GEARMA ...
https://man.mtool.work/php/8.3/gearmanclient.donormal.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT