« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 20 for Decrement (0.006 sec.)
Memcache::decrement — 項目の値を減らす | PHP 8.3 13645
Memcache::decrement memcache_decrement (PECL memcache >= 0.2.0) Memcache::decrement -- memcache_decrement — 項目の値を減らす 説明 function Memcache::decrement ( string $key , int $value = 1 ): int | false function memcache_decrement ( Memca ... che $memcache , string $key , int $value = 1 ): int | false Memcache::decrement() は、項目の値を value だけ減らします。 Memcache::increment() と同様、項目の現在の値が まず数値に変換されてから value を引 ... きます。 注意 : 項目の新しい値をゼロより小さくすることはできません。 注意 : 圧縮して格納されている項目に対して Memcache::decrement() を使用しないでください。 なぜなら、それ以降の Memcache::get() のコールが 失敗してしまうからです。 Memcache::decrement() ... のキー。 value 項目の値を value だけ減らします。 戻り値 項目の新しい値か、失敗した場合に false を返します。 例 例1 Memcache::decrement() の例 <?php /* 手続き型の API */ $memcache_obj = memcache_connect ( 'memcache_host' , 11211 ); /* 項目の値を 2 減らします ...
https://man.mtool.work/php/8.3/memcache.decrement.html
str_decrement — 英数字からなる文字列をデクリメントする | PHP 8.3 12014
str_decrement (PHP 8 >= 8.3.0) str_decrement — 英数字からなる文字列をデクリメントする 説明 function str_decrement ( string $string ): string 英数字からなる ASCII 文字列 string をデクリメントし、結果の文字列を返します。 パラメータ string 入力 ... ーされます。 string がデクリメントできない場合、 ValueError がスローされます。たとえば、 "A" や "0" の場合です。 例 例1 str_decrement() の基本的な使い方 <?php $str = 'ABC' ; var_dump ( str_decrement ( $str )); ?> 上の例の出力は以下となります。 string(3) "A ... BB" 例2 繰り下がりがある、 str_decrement() の例 <?php $str = 'ZA' ; var_dump ( str_decrement ( $str )); $str = 'AA' ; var_dump ( str_decrement ( $str )); ?> 上の例 ...
https://man.mtool.work/php/8.3/function.str-decrement.html
Memcached::decrement — 数値アイテムの値を減らす | PHP 8.3 11436
Memcached::decrement (PECL memcached >= 0.1.0) Memcached::decrement — 数値アイテムの値を減らす 説明 public function Memcached::decrement ( string $key , int $offset = 1 , int $initial_value = 0 , int $expiry = 0 ): int | false Memcached::decrement ... 合はエラーとなります。 操作後の値が 0 より小さくなる場合は、新しい値は 0 となります。 アイテムが存在しない場合、 Memcached::decrement() は値を initial_value に設定します。 パラメータ key 減らしたいアイテムのキー。 offset 値を減らしたい量。 initial_value そ ... のアイテムに設定する有効期限。 戻り値 成功した場合にアイテムの新しい値、失敗した場合に false を返します。 例 例1 Memcached::decrement() の例 <?php $m = new Memcached (); $m -> addServer ( 'localhost' , 11211 ); $m -> set ( 'counter' , 5 ); $n = $m -> decre ... ment ( 'counter' ); var_dump ( $n ); $n = $m -> decrement ( 'counter' , 10 ); var_dump ( $n ); var_dump ( $m -> get ( 'counter' )); $m -> set ( 'counter' , 'abc' ); $n = $m -> incr ...
https://man.mtool.work/php/8.3/memcached.decrement.html
Swoole\Table::decr — Decrement the value in the Swoole table by $key and $colum... 9006
Swoole\Table::decr (PECL swoole >= 1.9.0) Swoole\Table::decr — Decrement the value in the Swoole table by $key and $column 説明 public function Swoole\Table::decr ( string $key , string $column , int $decrby = ? ): int パラメータ key Key of ... the data. column Specify the column name. decrby Decrement value. 戻り値 他のマニュアルの関連ページ DuckDB Describe DuckDB SQL Introduction DuckDB Table Functions DuckDB Directly Re ...
https://man.mtool.work/php/8.3/swoole-table.decr.html
Memcache クラス | PHP 8.3 8139
Memcache クラス (PECL memcache >= 0.2.0) はじめに memcache サーバーへの接続をあらわします。 クラス概要 class Memcache { function add ( string $key , mixed $var , int $flag = ? , int $expire = ? ): bool function addServer ( string $host , in ... ms = ? ): bool function close (): bool function connect ( string $host , int $port = ? , int $timeout = ? ): bool function decrement ( string $key , int $value = 1 ): int | false function delete ( string $key , int $exptime = 0 ): bool function flush (): ... emcache::close — memcached サーバーとの接続を閉じる Memcache::connect — memcached サーバーへの接続をオープンする Memcache::decrement — 項目の値を減らす Memcache::delete — サーバーから項目を削除する Memcache::flush — サーバー上のすべての既存項目を消去する ...
https://man.mtool.work/php/8.3/class.memcache.html
新しく追加された関数 | PHP 8.3 7987
新しく追加された関数 Date DatePeriod::createFromISO8601String() DOM DOMElement::getAttributeNames() DOMElement::insertAdjacentElement() DOMElement::insertAdjacentText() DOMElement::toggleAttribute() DOMNode::contains() DOMNode::getRootNode( ... :getFloat() Reflection ReflectionMethod::createFromMethodName() Sockets socket_atmark() 標準ライブラリ str_increment() str_decrement() stream_context_set_options() Zip ZipArchive::getArchiveFlag() 他のマニュアルの関連ページ Docker docker context Docker do ...
https://man.mtool.work/php/8.3/migration83.new-functions.html
str_increment — 英数字からなる文字列をインクリメントする | PHP 8.3 7868
str_increment (PHP 8 >= 8.3.0) str_increment — 英数字からなる文字列をインクリメントする 説明 function str_increment ( string $string ): string 英数字からなる ASCII 文字列 string をインクリメントし、結果の文字列を返します。 パラメータ string ... str = 'ZZ' ; var_dump ( str_increment ( $str )); ?> 上の例の出力は以下となります。 string(2) "EA" string(3) "AAA" 参考 str_decrement() - 英数字からなる文字列をデクリメントする 他のマニュアルの関連ページ Linux JM futex(7) Linux JM profil(3) Django models ...
https://man.mtool.work/php/8.3/function.str-increment.html
Memcached クラス | PHP 8.3 7817
Memcached クラス (PECL memcached >= 0.1.0) はじめに memcached サーバー群への接続を表します。 クラス概要 class Memcached { /* メソッド */ public function __construct ( ? string $persistent_id = null , ? callable $callback = null , ? string $ ... g | int | float $cas_token , string $server_key , string $key , mixed $value , int $expiration = 0 ): bool public function decrement ( string $key , int $offset = 1 , int $initial_value = 0 , int $expiry = 0 ): int | false public function decrementByKey ( ... ey — 指定したサーバーでアイテムを比較して入れ替える Memcached::__construct — Memcached のインスタンスを作成する Memcached::decrement — 数値アイテムの値を減らす Memcached::decrementByKey — 指定したサーバー上にある数値アイテムの値を減らす Memcached::delete ...
https://man.mtool.work/php/8.3/class.memcached.html
The Swoole\Table class | PHP 8.3 7817
The Swoole\Table class (PECL swoole >= 1.9.0) はじめに クラス概要 class Swoole\Table implements Iterator , Countable { /* 定数 */ const int TYPE_INT = 1 ; const int TYPE_STRING = 7 ; const int TYPE_FLOAT = 6 ; /* メソッド */ public function ... . Swoole\Table::create — Create the swoole memory table. Swoole\Table::current — Get the current row. Swoole\Table::decr — Decrement the value in the Swoole table by $key and $column Swoole\Table::del — Delete a row in the Swoole table by $key Swoole\Tabl ...
https://man.mtool.work/php/8.3/class.swoole-table.html
Memcache::increment — 項目の値を増やす | PHP 8.3 7817
Memcache::increment memcache_increment (PECL memcache >= 0.2.0) Memcache::increment -- memcache_increment — 項目の値を増やす 説明 function Memcache::increment ( string $key , int $value = 1 ): int | false function memcache_increment ( Memca ... , 11211 ); /* カウンタを 3 増やします */ $current_value = $memcache_obj -> increment ( 'counter' , 3 ); ?> 参考 Memcache::decrement() - 項目の値を減らす Memcache::replace() - 既存項目の値を置換する 他のマニュアルの関連ページ Linux JM grub-set-default(8) ...
https://man.mtool.work/php/8.3/memcache.increment.html
PREV 1 2 NEXT