| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
apcu_cas(PECL apcu >= 4.0.0) apcu_cas — Updates an old value with a new value 説明
bool apcu_cas
( string
$key
, int $old
, int $new
)
apcu_cas() updates an already existing integer value if the
パラメータ
返り値
成功した場合に 例例1 apcu_cas() example
<?php 上の例の出力は、 たとえば以下のようになります。 $foobar = 2 $foobar == 1 ? 2 : 1 = fail $foobar == 2 ? 1 : 2 = ok $foobar = 1 $f__bar == 1 ? 2 : 1 = fail $perfection == 2 ? 1 : 2 = epic fail $foobar = 1 参考
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「apcu_cas - Updates an old value with a new value」をGoogle検索
|