Results of 1 - 10 of about 305 for success (0.002 sec.)
- apcu_dec — 保存した数値を減らす | PHP 8.3 9767
- apcu_dec (PECL apcu >= 4.0.0) apcu_dec — 保存した数値を減らす 説明 function apcu_dec ( string $key , int $step = 1 , bool &$success = ? , int $ttl = 0 ): int | false 保存した整数値を減らします。 パラメータ key 減らしたい値のキー。 step 減ら
... したい数。 success この参照渡しの変数に、成功したか失敗したかの結果が格納されます。 ttl (既存の値を減らすのではなく) 新しい値を挿入する操作に ... た場合に key の現在値を返します。 失敗した場合に false を返します 例 例1 apcu_dec() の例 <?php echo "Let's do something with success" , PHP_EOL ; apcu_store ( 'anumber' , 42 ); echo apcu_fetch ( 'anumber' ), PHP_EOL ; echo apcu_dec ( 'anumber' ), PHP_EOL ... ; echo apcu_dec ( 'anumber' , 10 ), PHP_EOL ; echo apcu_dec ( 'anumber' , 10 , $success ), PHP_EOL ; var_dump ( $success ); echo "Now, let's fail" , PHP_EOL , PHP_EOL ; apcu_store ( 'astring' , 'foo' ); $ret = ...
-
https://man.mtool.work/php/8.3/function.apcu-dec.html
- apcu_inc — 保存した数値を増やす | PHP 8.3 9767
- apcu_inc (PECL apcu >= 4.0.0) apcu_inc — 保存した数値を増やす 説明 function apcu_inc ( string $key , int $step = 1 , bool &$success = ? , int $ttl = 0 ): int | false 保存した整数値を増やします。 パラメータ key 増やしたい値のキー。 step 増や
... したい数。 success この参照渡しの変数に、成功したか失敗したかの結果が格納されます。 ttl (既存の値を増やすのではなく) 新しい値を挿入する操作に ... た場合に key の現在値を返します。 失敗した場合に false を返します 例 例1 apcu_inc() の例 <?php echo "Let's do something with success" , PHP_EOL ; apcu_store ( 'anumber' , 42 ); echo apcu_fetch ( 'anumber' ), PHP_EOL ; echo apcu_inc ( 'anumber' ), PHP_EOL ... ; echo apcu_inc ( 'anumber' , 10 ), PHP_EOL ; echo apcu_inc ( 'anumber' , 10 , $success ), PHP_EOL ; var_dump ( $success ); echo "Now, let's fail" , PHP_EOL , PHP_EOL ; apcu_store ( 'astring' , 'foo' ); $ret = ...
-
https://man.mtool.work/php/8.3/function.apcu-inc.html
- stats_dens_pmf_negative_binomial — Probability mass function of the negative bi... 9354
- stats_dens_pmf_negative_binomial (PECL stats >= 1.0.0) stats_dens_pmf_negative_binomial — Probability mass function of the negative binomial distribution 説明 function stats_dens_pmf_negative_binomial ( float $x , float $n , float $pi ): fl
... he probability mass at x , where the random variable follows the negative binomial distribution of which the number of the success is n and the success rate is pi . パラメータ x The value at which the probability mass is calculated n The number of the s ... uccess of the distribution pi The success rate of the distribution 戻り値 The probability mass at x or false for failure. 他のマニュアルの関連ページ Linux JM malloc ...
-
https://man.mtool.work/php/8.3/function.stats-dens-pmf-negative-binomial.html
- stats_rand_gen_ibinomial_negative — Generates a random deviate from the negativ... 9354
- stats_rand_gen_ibinomial_negative (PECL stats >= 1.0.0) stats_rand_gen_ibinomial_negative — Generates a random deviate from the negative binomial distribution 説明 function stats_rand_gen_ibinomial_negative ( int $n , float $p ): int Return
... s a random deviate from a negative binomial distribution where the number of success is n and the success rate is p . パラメータ n The number of success p The success rate 戻り値 A random deviate, which is t ...
-
https://man.mtool.work/php/8.3/function.stats-rand-gen-ibinomial-negative.html
- wincache_ucache_get — ユーザーキャッシュに格納された変数を取得する | PHP 8.3 9354
- wincache_ucache_get (PECL wincache >= 1.1.0) wincache_ucache_get — ユーザーキャッシュに格納された変数を取得する 説明 function wincache_ucache_get ( mixed $key , bool &$success = ? ): mixed ユーザーキャッシュに格納された変数を取得します。 パ
... は、 オブジェクトがアンシリアライズされます。シリアライズしたオブジェクトの復元についての詳細は __wakeup() を参照ください。 success 成功した場合に true 、失敗した場合に false が設定されます。 戻り値 key が文字列のときは、そのキーに格納された変数の値を返し ... ます。 success には、成功した場合に true 、 失敗した場合に false が設定されます。 key が配列のときは、 success には常に true が設定されま ... _get() で key に文字列を使う例 <?php wincache_ucache_add ( 'color' , 'blue' ); var_dump ( wincache_ucache_get ( 'color' , $success )); var_dump ( $success ); ?> 上の例の出力は以下となります。 string(4) "blue" bool(true) 例2 wincache_ucache_get() で key ...
-
https://man.mtool.work/php/8.3/function.wincache-ucache-get.html
- GearmanClient::do — Run a single task and return a result [deprecated] | PHP 8.... 8837
- GearmanClient::do (PECL gearman >= 0.5.0) GearmanClient::do — Run a single task and return a result [deprecated] 説明 public function GearmanClient::do ( string $function_name , string $workload , string $unique = ? ): string The GearmanCli
... alhost). $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 GearmanWorker (); # Add default se ... , "reverse_fn" ); print "Waiting for job...\n" ; while( $gmworker -> work ()) { if ( $gmworker -> returnCode () != GEARMAN_SUCCESS ) { echo "return_code: " . $gmworker -> returnCode () . "\n" ; break; } } function reverse_fn ( $job ) { return strrev ( $ ... job -> workload ()); } ?> 上の例の出力は、 たとえば以下のようになります。 Starting Sending job Success: !olleH 例2 Submitting a job and retrieving incremental status A job is submitted and the script loops to retrieve status ...
-
https://man.mtool.work/php/8.3/gearmanclient.do.html
- GearmanClient::doNormal — Run a single task and return a result | PHP 8.3 8837
- GearmanClient::doNormal (No version information available, might only be in Git) GearmanClient::doNormal — Run a single task and return a result 説明 public function GearmanClient::doNormal ( string $function , string $workload , ? string $
... alhost). $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 GearmanWorker (); # Add default se ... , "reverse_fn" ); print "Waiting for job...\n" ; while( $gmworker -> work ()) { if ( $gmworker -> returnCode () != GEARMAN_SUCCESS ) { echo "return_code: " . $gmworker -> returnCode () . "\n" ; break; } } function reverse_fn ( $job ) { return strrev ( $ ... job -> workload ()); } ?> 上の例の出力は、 たとえば以下のようになります。 Starting Sending job Success: !olleH 例2 Submitting a job and retrieving incremental status A job is submitted and the script loops to retrieve status ...
-
https://man.mtool.work/php/8.3/gearmanclient.donormal.html
- SolrResponse::success — リクエストが成功したか | PHP 8.3 7793
- SolrResponse::success (PECL solr >= 0.9.2) SolrResponse::success — リクエストが成功したか 説明 public function SolrResponse::success (): bool サーバーへのリクエストが成功したかチェックするために使用されます。 パラメータ この関数にはパラメー
...
-
https://man.mtool.work/php/8.3/solrresponse.success.html
- stats_dens_pmf_hypergeometric — Probability mass function of the hypergeometric... 7586
- stats_dens_pmf_hypergeometric (PECL stats >= 1.0.0) stats_dens_pmf_hypergeometric — Probability mass function of the hypergeometric distribution 説明 function stats_dens_pmf_hypergeometric ( float $n1 , float $n2 , float $N1 , float $N2 ):
... 1 , where the random variable follows the hypergeometric distribution of which the number of failure is n2 , the number of success samples is N1 , and the number of failure samples is N2 . パラメータ n1 The number of success, at which the probability ma ... ss is calculated n2 The number of failure of the distribution N1 The number of success samples of the distribution N2 The number of failure samples of the distribution 戻り値 The probability mass at n1 or fals ...
-
https://man.mtool.work/php/8.3/function.stats-dens-pmf-hypergeometric.html
- wincache_ucache_dec — キーに関連づけられた値を減少させる | PHP 8.3 7483
- wincache_ucache_dec (PECL wincache >= 1.1.0) wincache_ucache_dec — キーに関連づけられた値を減少させる 説明 function wincache_ucache_dec ( string $key , int $dec_by = 1 , bool &$success = ? ): mixed key に関連づけられた値を、1 あるいは dec_b
... に丸められます。 key に関連づけられた変数は long 型でなければならず、 それ以外の場合はこの関数は失敗して false を返します。 success 成功した場合に true 、失敗した場合に false が設定されます。 戻り値 成功した場合に減少後の値、失敗した場合に false を返しま ... he_ucache_dec() の使用法 <?php wincache_ucache_set ( 'counter' , 1 ); var_dump ( wincache_ucache_dec ( 'counter' , 2923 , $success )); var_dump ( $success ); ?> 上の例の出力は以下となります。 int(2922) bool(true) 参考 wincache_ucache_inc() - キーに関連づ ...
-
https://man.mtool.work/php/8.3/function.wincache-ucache-dec.html