« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 260 for store (0.004 sec.)
Store a value into the cache 9566
« 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 ... function Yac::set ( array $values , int $ttl = 0 ): bool Stores a value in the cache. If the key already exists, the existing entry 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 ...
https://man.mtool.work/php/8.3/yac.set.html
Store a value into the cache 9517
« 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 ... function Yac::set ( array $values , int $ttl = 0 ): bool Stores a value in the cache. If the key already exists, the existing entry 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 ...
https://man.mtool.work/php/8.3/yac.set.html
Store a value without overwriting an existing one 9309
« 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 ... ixed $value , int $ttl = 0 ): bool public function Yac::add ( array $values , int $ttl = 0 ): bool 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
Store a value without overwriting an existing one 9309
« 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 ... ixed $value , int $ttl = 0 ): bool public function Yac::add ( array $values , int $ttl = 0 ): bool 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
内部バッファに結果を保存する 7962
« mysqli_stmt::$sqlstate mysqli_result » PHP Manual mysqli_stmt 内部バッファに結果を保存する 検索 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 有効な結果セットを生成するクエ ... バッファリングされたデータを取得するには続けて 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
内部バッファに結果を保存する 7962
« mysqli_stmt::$sqlstate mysqli_result » PHP Manual mysqli_stmt 内部バッファに結果を保存する 検索 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 有効な結果セットを生成するクエ ... バッファリングされたデータを取得するには続けて 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
Store a value using property syntax 7962
« Yac::set 音声フォーマットの操作 » PHP Manual Yac Store a value using property syntax 検索 Yac::__set (PECL yac >= 1.0.0) Yac::__set — Store a value using property syntax 説明 public function Yac::__set ( string $key , mixed $value ): mixe ... d Stores a value in the cache, invoked when writing a property of a Yac instance: $yac->foo = "bar" is equivalent to $yac->set("fo ... o", "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
変数をデータ領域にキャッシュする 7704
« apcu_sma_info APCUIterator » PHP Manual APCu 関数 変数をデータ領域にキャッシュする 検索 apcu_store (PECL apcu >= 4.0.0) apcu_store — 変数をデータ領域にキャッシュする 説明 function apcu_store ( string $key , mixed $var , int $ttl = 0 ): bo ... ol 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
直近のクエリから結果セットを転送する 7645
« mysqli::stmt_init mysqli::$thread_id » PHP Manual mysqli 直近のクエリから結果セットを転送する 検索 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 ): m ... 以降では、このパラメータを指定しても意味はありません。 以下のいずれかの値を指定します。 有効なオプション 名前 説明 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
変数をデータ領域にキャッシュする 7645
« apcu_sma_info APCUIterator » PHP Manual APCu 関数 変数をデータ領域にキャッシュする 検索 apcu_store (PECL apcu >= 4.0.0) apcu_store — 変数をデータ領域にキャッシュする 説明 function apcu_store ( string $key , mixed $var , int $ttl = 0 ): bo ... ol 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
PREV 1 2 3 4 5 6 7 8 9 10 NEXT