Results of 1 - 4 of about 4 for lived (0.001 sec.)
- Store a value into the cache 11243
- « Yac::info Yac::__set » PHP Manual Yac Store a value into the cache 検索 Yac::set (PECL yac >= 1.0.0) Yac::set — Store a value into the cache 説明 public function Yac::set ( string | array $key , mixed $value , int $ttl = 0 ): bool public
... ing an entry with a TTL <?php $yac = new Yac (); // ttl in seconds: the entry expires after 5 seconds $yac -> set ( "short-lived" , "value" , 5 ); sleep ( 6 ); var_dump ( $yac -> get ( "short-lived" )); // bool(false): expired ?> 例3 Setting multiple ... rty syntax 関連キーワード: Store cache entry store existing seconds values expired pairs call single expires Setting short lived info mixed Stores already exists overwritten regardless whether type except ...
-
https://man.mtool.work/php/8.3/yac.set.html
- Store a value without overwriting an existing one 10910
- « Yac Yac::__construct » PHP Manual Yac Store a value without overwriting an existing one 検索 Yac::add (PECL yac >= 1.0.0) Yac::add — Store a value without overwriting an existing one 説明 public function Yac::add ( string | array $key , m
... with a TTL <?php $yac = new Yac (); // ttl in seconds; 0 (the default) means the entry never expires $yac -> add ( "short-lived" , "value" , 5 ); sleep ( 6 ); var_dump ( $yac -> get ( "short-lived" )); // bool(false): expired ?> 例3 Adding multiple e ... entry without overwriting dump values rejected pairs call seconds means never expires already exists expired Adding short lived construct mixed Stores ...
-
https://man.mtool.work/php/8.3/yac.add.html
- Store a value into the cache 7563
- « Yac::info Yac::__set » PHP Manual Yac Store a value into the cache 検索 Yac::set (PECL yac >= 1.0.0) Yac::set — Store a value into the cache 説明 public function Yac::set ( string | array $key , mixed $value , int $ttl = 0 ): bool public
... ing an entry with a TTL <?php $yac = new Yac (); // ttl in seconds: the entry expires after 5 seconds $yac -> set ( "short-lived" , "value" , 5 ); sleep ( 6 ); var_dump ( $yac -> get ( "short-lived" )); // bool(false): expired ?> 例3 Setting multiple ...
-
https://man.mtool.work/php/8.3/yac.set.html
- Store a value without overwriting an existing one 7230
- « Yac Yac::__construct » PHP Manual Yac Store a value without overwriting an existing one 検索 Yac::add (PECL yac >= 1.0.0) Yac::add — Store a value without overwriting an existing one 説明 public function Yac::add ( string | array $key , m
... with a TTL <?php $yac = new Yac (); // ttl in seconds; 0 (the default) means the entry never expires $yac -> add ( "short-lived" , "value" , 5 ); sleep ( 6 ); var_dump ( $yac -> get ( "short-lived" )); // bool(false): expired ?> 例3 Adding multiple e ...
-
https://man.mtool.work/php/8.3/yac.add.html
PREV
1
NEXT