« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 149 for store (0.001 sec.)
Yac::set — Store a value into the cache | PHP 8.3 11033
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 function Yac::set ( array $values , int $ttl = 0 ): bool Stores a value in ... ry is overwritten, regardless of whether it has expired. パラメータ key A string key, or an array of key => value pairs to store in one call. value The value to store. Every PHP type except resource can be stored. Only used in the single-key form; whe ... ns true on success, false on failure. 例 例1 Yac::set() example <?php $yac = new Yac (); $yac -> set ( "foo" , "bar" ); // store a single value $yac -> set ( "foo" , "baz" ); // overwrite the existing entry ?> 例2 Setting an entry with a TTL <?php $ya ... yac -> get ( "short-lived" )); // bool(false): expired ?> 例3 Setting multiple entries at once <?php $yac = new Yac (); // store several key => value pairs with one call $yac -> set (array( "a" => 1 , "b" => 2 )); ?> 参考 Yac::add() - Store a value wi ...
https://man.mtool.work/php/8.3/yac.set.html
Yac::add — Store a value without overwriting an existing one | PHP 8.3 10869
Yac::add (PECL yac >= 1.0.0) Yac::add — Store a value without overwriting an existing one 説明 public function Yac::add ( string | array $key , mixed $value , int $ttl = 0 ): bool public function Yac::add ( array $values , int $ttl = 0 ): b ... ool Stores a value in the cache. Unlike Yac::set() , it does not overwrite an existing entry that is still valid; the store is rejec ... ted in that case. パラメータ key A string key, or an array of key => value pairs to store in one call. value The value to store. Every PHP type except resource can be stored. Only used in the single-key form; whe ... ttl Time to live in seconds. 0 means the entry never expires by time. 戻り値 Returns true on success, false on failure. A store is also rejected (returning false ) when the key already exists and has not expired. 例 例1 Yac::add() example <?php $yac ...
https://man.mtool.work/php/8.3/yac.add.html
mysqli_stmt::store_result — 内部バッファに結果を保存する | PHP 8.3 10611
mysqli_stmt::store_result mysqli_stmt_store_result (PHP 5, PHP 7, PHP 8) mysqli_stmt::store_result -- mysqli_stmt_store_result — 内部バッファに結果を保存する 説明 オブジェクト指向型 public function mysqli_stmt::store_result (): bool 手続き型 ... function mysqli_stmt_store_result ( mysqli_stmt $statement ): bool 有効な結果セットを生成するクエリの場合( SELECT, SHOW, DESCRIBE, EXPLAIN )、かつ ... バッファリングされたデータを取得するには続けて mysqli_stmt_fetch() をコールします。 注意 : その他のクエリでは mysqli_stmt_store_result() をコールする必要はありません。しかし、もしコールしてしまったとしても パフォーマンスへの悪影響は一切ありません。ク ... Name LIMIT 20" ; $stmt = $mysqli -> prepare ( $query ); $stmt -> execute (); /* 結果を内部バッファに保存します */ $stmt -> store_result (); printf ( "Number of rows: %d.\n" , $stmt -> num_rows ); 例2 手続き型 <?php mysqli_report ( MYSQLI_REPORT_ERROR ...
https://man.mtool.work/php/8.3/mysqli-stmt.store-result.html
pspell_store_replacement — 単語を置換する組を保存する | PHP 8.3 10189
pspell_store_replacement (PHP 4 >= 4.0.2, PHP 5, PHP 7, PHP 8) pspell_store_replacement — 単語を置換する組を保存する 説明 function pspell_store_replacement ( PSpell\Dictionary $dictionary , string $misspelled , string $correct ): bool pspel ... l_store_replacement() は、単語の置換候補を 保存します。これにより、この後の pspell_suggest() で置換候補を返すことが可能と なります ... クラスのインスタンスを期待するようになりました。 これより前のバージョンでは、 resource を期待していました。 例 例1 pspell_store_replacement() <?php $pspell_config = pspell_config_create ( "en" ); pspell_config_personal ( $pspell_config , "/var/dictio ... l_config_repl ( $pspell_config , "/var/dictionaries/custom.repl" ); $pspell = pspell_new_config ( $pspell_config ); pspell_store_replacement ( $pspell , $misspelled , $correct ); pspell_save_wordlist ( $pspell ); ?> 注意 注意 : この関数は、pspell .11. ...
https://man.mtool.work/php/8.3/function.pspell-store-replacement.html
apcu_store — 変数をデータ領域にキャッシュする | PHP 8.3 10025
apcu_store (PECL apcu >= 4.0.0) apcu_store — 変数をデータ領域にキャッシュする 説明 function apcu_store ( string $key , mixed $var , int $ttl = 0 ): bool function apcu_store ( array $values , mixed $unused = NULL , int $ttl = 0 ): array 変数 ... をデータ領域にキャッシュします。 注意 : PHP の他の多くの仕組みと異なり、 apcu_store() を用いて格納された変数はリクエストを超えて (その値がキャッシュから取り除かれるまで)持続します。 パラメータ key この名前 ... 功した場合に true を、失敗した場合に false を返します。 二番目の構文は、エラーになったキーを含む配列を返します。 例 例1 apcu_store() の例 <?php $bar = 'BAR' ; apcu_store ( 'foo' , $bar ); var_dump ( apcu_fetch ( 'foo' )); ?> 上の例の出力は以下となります ...
https://man.mtool.work/php/8.3/function.apcu-store.html
mysqli::store_result — 直近のクエリから結果セットを転送する | PHP 8.3 10025
mysqli::store_result mysqli_store_result (PHP 5, PHP 7, PHP 8) mysqli::store_result -- mysqli_store_result — 直近のクエリから結果セットを転送する 説明 オブジェクト指向型 public function mysqli::store_result ( int $mode = 0 ): mysqli_result ... | false 手続き型 function mysqli_store_result ( mysqli $mysql , int $mode = 0 ): mysqli_result | false mysqli_data_seek() で使用される、 mysql で表されたデータベ ... 以降では、このパラメータを指定しても意味はありません。 以下のいずれかの値を指定します。 有効なオプション 名前 説明 MYSQLI_STORE_RESULT_COPY_DATA 結果を、内部の mysqlnd バッファーから PHP の変数にコピーします。 デフォルトでは、mysqlnd は参照を利用して ... nd でのみ利用可能です。 戻り値 バッファに格納した結果オブジェクトを返します。エラー時には false を返します。 注意 : mysqli_store_result() は、クエリが結果セットを 返さなかった場合(例えば、クエリが INSERT 文であった場合)に false を返します。また、結果 ...
https://man.mtool.work/php/8.3/mysqli.store-result.html
Yac | PHP 8.3 8749
Yac はじめに Yac (Yet Another Cache) is a lock-free, shared memory user data cache, and can be used to replace APC or local memcached. Yac stores data in shared memory, which makes it visible to every PHP worker of the same machine without ... es plus a few collision probes, so a cache miss never blocks a request, and a concurrent write can at worst cause a failed store or a missed read that the caller can simply retry. With no locks and no inter-process communication in the access path, a ... ents, configuration snapshots, small service responses, and other local caches. It should not be used as the authoritative store for irreplaceable data. As of yac 2.4.0, small scalar values — NULL , booleans, most integers (those that fit in 60 signed ... bits on 64-bit builds), strings of up to 7 bytes and empty arrays — are stored directly inside the hash slot instead of in a separate value block ("embedded values"), which removes the value-memory al ...
https://man.mtool.work/php/8.3/book.yac.html
Yac::__set — Store a value using property syntax | PHP 8.3 7987
Yac::__set (PECL yac >= 1.0.0) Yac::__set — Store a value using property syntax 説明 public function Yac::__set ( string $key , mixed $value ): mixed Stores a value in the cache, invoked when writing a property of a Yac instance: $yac->foo ... lent to $yac->set("foo", "bar") , with no ttl. パラメータ key The property name, used as the cache key. value The value to store. Every PHP type except resource can be stored. 戻り値 Returns the stored value. 例 例1 Yac::__set() example <?php $yac = n ... ew Yac (); $yac -> foo = "bar" ; // stored without a ttl var_dump ( $yac -> get ( "foo" )); // string(3) "bar" ?> 参考 Yac::set() - Store a value into the cache Yac ...
https://man.mtool.work/php/8.3/yac.setter.html
apcu_fetch — 格納されている変数をキャッシュから取得する | PHP 8.3 7402
apcu_fetch (PECL apcu >= 4.0.0) apcu_fetch — 格納されている変数をキャッシュから取得する 説明 function apcu_fetch ( mixed $key , bool &$success = ? ): mixed エントリをキャッシュから取得します。 パラメータ key ( apcu_store() を用いて) 値を格納 ... 歴 バージョン 説明 PECL apcu 3.0.17 success パラメータが追加されました。 例 例1 apcu_fetch() の例 <?php $bar = 'BAR' ; apcu_store ( 'foo' , $bar ); var_dump ( apcu_fetch ( 'foo' )); ?> 上の例の出力は以下となります。 string(3) "BAR" 参考 apcu_store() - ...
https://man.mtool.work/php/8.3/function.apcu-fetch.html
enchant_dict_store_replacement — 単語の修正候補を追加する | PHP 8.3 7402
enchant_dict_store_replacement (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL enchant >= 0.1.0 ) enchant_dict_store_replacement — 単語の修正候補を追加する 説明 function enchant_dict_store_replacement ( EnchantDictionary $dictionary , string $misspelle ...
https://man.mtool.work/php/8.3/function.enchant-dict-store-replacement.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT