« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 18 for minutes (0.002 sec.)
現在のキャッシュの有効期限を取得/設定する 12371
« session_abort session_cache_limiter » PHP Manual セッション関数 現在のキャッシュの有効期限を取得/設定する 検索 session_cache_expire (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) session_cache_expire — 現在のキャッシュの有効期限を取得/設定する 説明 ... 'private' */ session_cache_limiter ( 'private' ); $cache_limiter = session_cache_limiter (); /* set the cache expire to 30 minutes */ session_cache_expire ( 30 ); $cache_expire = session_cache_expire (); /* start the session */ session_start (); echo "T ... he cache limiter is now set to $cache_limiter <br />" ; echo "The cached session pages expire after $cache_expire minutes" ; ?> 参考 session.cache_expire session.cache_limiter session_cache_limiter() - 現在のキャッシュリミッタを取得または設定す ... cache session expire limiter 現在 キャッシュ value 有効期限 start 場合 set int null false リクエスト コール 戻り値 private minutes echo ...
https://man.mtool.work/php/8.3/function.session-cache-expire.html
現在のキャッシュの有効期限を取得/設定する 12165
« session_abort session_cache_limiter » PHP Manual セッション関数 現在のキャッシュの有効期限を取得/設定する 検索 session_cache_expire (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) session_cache_expire — 現在のキャッシュの有効期限を取得/設定する 説明 ... 'private' */ session_cache_limiter ( 'private' ); $cache_limiter = session_cache_limiter (); /* set the cache expire to 30 minutes */ session_cache_expire ( 30 ); $cache_expire = session_cache_expire (); /* start the session */ session_start (); echo "T ... he cache limiter is now set to $cache_limiter <br />" ; echo "The cached session pages expire after $cache_expire minutes" ; ?> 参考 session.cache_expire session.cache_limiter session_cache_limiter() - 現在のキャッシュリミッタを取得または設定す ... る 関連キーワード: cache session expire limiter キャッシュ 有効期限 start リクエスト private minutes abort セッション 時点 デフォルト値 リセット 置換 nocache セット 単位 履歴 nullable cached pages after 参考 ...
https://man.mtool.work/php/8.3/function.session-cache-expire.html
日付/時刻情報を取得する 11753
« date_timezone_set gettimeofday » PHP Manual 日付・時刻 関数 日付/時刻情報を取得する 検索 getdate (PHP 4, PHP 5, PHP 7, PHP 8) getdate — 日付/時刻情報を取得する 説明 function getdate ( ? int $timestamp = null ): array timestamp に関する日付 ... 返される連想配列の内容は、次のようになります。 返される連想配列のキー キー 説明 戻り値の例 "seconds" 秒。数値。 0 から 59 "minutes" 分。数値。 0 から 59 "hours" 時。数値 0 から 23 "mday" 月単位の日。数値 1 から 31 "wday" 曜日。数値。 0 (日曜) から 6 (土 ... の例 <?php $today = getdate (); print_r ( $today ); 上の例の出力は、 たとえば以下のようになります。 Array ( [seconds] => 40 [minutes] => 58 [hours] => 21 [mday] => 17 [wday] => 2 [mon] => 6 [year] => 2003 [yday] => 167 [weekday] => Tuesday [month] => June ... ール情報を設定する 関連キーワード: timestamp 数値 日付 時刻 getdate 連想 date ローカル Unix タイムスタンプ time キー seconds minutes hours mday wday 曜日 year yday weekday フルスペル month today timezone ...
https://man.mtool.work/php/8.3/function.getdate.html
日付/時刻情報を取得する 10106
« date_timezone_set gettimeofday » PHP Manual 日付・時刻 関数 日付/時刻情報を取得する 検索 getdate (PHP 4, PHP 5, PHP 7, PHP 8) getdate — 日付/時刻情報を取得する 説明 function getdate ( ? int $timestamp = null ): array timestamp に関する日付 ... 返される連想配列の内容は、次のようになります。 返される連想配列のキー キー 説明 戻り値の例 "seconds" 秒。数値。 0 から 59 "minutes" 分。数値。 0 から 59 "hours" 時。数値 0 から 23 "mday" 月単位の日。数値 1 から 31 "wday" 曜日。数値。 0 (日曜) から 6 (土 ... の例 <?php $today = getdate (); print_r ( $today ); 上の例の出力は、 たとえば以下のようになります。 Array ( [seconds] => 40 [minutes] => 58 [hours] => 21 [mday] => 17 [wday] => 2 [mon] => 6 [year] => 2003 [yday] => 167 [weekday] => Tuesday [month] => June ...
https://man.mtool.work/php/8.3/function.getdate.html
アイテムを格納する 8459
« Memcached::resetServerList Memcached::setByKey » PHP Manual Memcached アイテムを格納する 検索 Memcached::set (PECL memcached >= 0.1.0) Memcached::set — アイテムを格納する 説明 public function Memcached::set ( string $key , mixed $value , ... ' , 99 ); $m -> set ( 'string' , 'a simple string' ); $m -> set ( 'array' , array( 11 , 12 )); /* expire 'object' key in 5 minutes */ $m -> set ( 'object' , new stdClass , time () + 300 ); var_dump ( $m -> get ( 'int' )); var_dump ( $m -> get ( 'string' ...
https://man.mtool.work/php/8.3/memcached.set.html
アイテムを格納する 8253
« Memcached::resetServerList Memcached::setByKey » PHP Manual Memcached アイテムを格納する 検索 Memcached::set (PECL memcached >= 0.1.0) Memcached::set — アイテムを格納する 説明 public function Memcached::set ( string $key , mixed $value , ... ' , 99 ); $m -> set ( 'string' , 'a simple string' ); $m -> set ( 'array' , array( 11 , 12 )); /* expire 'object' key in 5 minutes */ $m -> set ( 'object' , new stdClass , time () + 300 ); var_dump ( $m -> get ( 'int' )); var_dump ( $m -> get ( 'string' ...
https://man.mtool.work/php/8.3/memcached.set.html
ふたつの DateTime オブジェクトの差を返す 8047
« DateTimeInterface DateTimeInterface::format » PHP Manual DateTimeInterface ふたつの DateTime オブジェクトの差を返す 検索 DateTimeInterface::diff DateTimeImmutable::diff DateTime::diff date_diff (PHP 5 >= 5.3.0, PHP 7, PHP 8) DateTimeInter ... 時間の差分を示しています。 このプロセスは可逆とは限りません。 このメソッドは夏時間の切り替えを認識するため、 24 hours and 30 minutes という時間差を返す可能性があります。 以下で例示するサンプルコードでそれを示します。 完全な時間差を計算したい場合、 $this / ...
https://man.mtool.work/php/8.3/datetime.diff.html
ふたつの DateTime オブジェクトの差を返す 8047
« DateTimeInterface DateTimeInterface::format » PHP Manual DateTimeInterface ふたつの DateTime オブジェクトの差を返す 検索 DateTimeInterface::diff DateTimeImmutable::diff DateTime::diff date_diff (PHP 5 >= 5.3.0, PHP 7, PHP 8) DateTimeInter ... 時間の差分を示しています。 このプロセスは可逆とは限りません。 このメソッドは夏時間の切り替えを認識するため、 24 hours and 30 minutes という時間差を返す可能性があります。 以下で例示するサンプルコードでそれを示します。 完全な時間差を計算したい場合、 $this / ...
https://man.mtool.work/php/8.3/datetime.diff.html
文字列の相対部分から DateInterval を作成する 7841
« DateInterval::__construct DateInterval::format » PHP Manual DateInterval 文字列の相対部分から DateInterval を作成する 検索 DateInterval::createFromDateString (PHP 5 >= 5.3.0, PHP 7, PHP 8) DateInterval::createFromDateString — 文字列の相対 ... 組み合わせと、負の間隔のパース <?php $i = DateInterval :: createFromDateString ( '62 weeks + 1 day + 2 weeks + 2 hours + 70 minutes' ); echo $i -> format ( '%d %h %i' ), "\n" ; $i = DateInterval :: createFromDateString ( '1 year - 10 days' ); echo $i -> ...
https://man.mtool.work/php/8.3/dateinterval.createfromdatestring.html
Create a new ReadPreference 7841
« MongoDB\Driver\ReadPreference::bsonSerialize MongoDB\Driver\ReadPreference::getHedge » PHP Manual MongoDB\Driver\ReadPreference Create a new ReadPreference 検索 MongoDB\Driver\ReadPreference::__construct (mongodb >=1.0.0) MongoDB\Driver\R ... B\Driver\ReadPreference :: NEAREST , [[ 'dc' => 'ny' ]])); /* Require a secondary node whose replication lag is within two minutes of the primary */ var_dump (new MongoDB\Driver\ReadPreference ( MongoDB\Driver\ReadPreference :: SECONDARY , null , [ 'max ...
https://man.mtool.work/php/8.3/mongodb-driver-readpreference.construct.html
PREV 1 2 NEXT