Results of 1 - 10 of about 23 for atime (0.002 sec.)
- stat — ファイルに関する情報を取得する | PHP 8.3 12148
- stat (PHP 4, PHP 5, PHP 7, PHP 8) stat — ファイルに関する情報を取得する 説明 function stat ( string $filename ): array | false filename で指定されたファイルに ついての統計情報を取得します。 filename がシンボリックリンクの場合、 シンボリック
... リンクではなくファイルの実体の統計情報が返されます。 Windows 環境、かつ PHP 7.4.0 より前の NTS ビルドでは、 size , atime , mtime , ctime の統計情報は、シンボリックリンクの値が返されていました。 lstat() はシンボリックリンクの統計情報を返すという ... 所有者のユーザー ID(*) 5 gid 所有者のグループ ID(*) 6 rdev inode デバイス の場合、デバイスの種類 7 size バイト単位のサイズ 8 atime 最終アクセス時間 (Unix タイムスタンプ) 9 mtime 最終修正時間 (Unix タイムスタンプ) 10 ctime 最終 inode 変更時間 (Unix タイム ... した。 そして、inode 番号は、ファイルに関連付けられた識別子を返すようになりました。 7.4.0 シンボリックリンクの場合、 size , atime , mtime , ctime の統計情報は、ファイルの実体の値が返されるようになりました。 これより前のバージョンの Windows NTS ビルドは ...
-
https://man.mtool.work/php/8.3/function.stat.html
- touch — ファイルの最終アクセス時刻および最終更新日をセットする | PHP 8.3 11981
- touch (PHP 4, PHP 5, PHP 7, PHP 8) touch — ファイルの最終アクセス時刻および最終更新日をセットする 説明 function touch ( string $filename , ? int $mtime = null , ? int $atime = null ): bool filename で指定されたファイルの最終更新日を、 mtime
... メータ filename 処理したいファイルの名前。 mtime 設定する時刻。 mtime が null の場合は、 現在時刻 ( time() ) を使用します。 atime この値が null でない場合、 指定されたファイルの最終アクセス時刻が atime にセットされます。 存在しない場合は mtime に渡した ... ム時刻を使います。 戻り値 成功した場合に true を、失敗した場合に false を返します。 変更履歴 バージョン 説明 8.0.0 mtime と atime は、nullable になりました。 例 例1 touch() の例 <?php if ( touch ( $filename )) { echo $filename . ' modification time has ...
-
https://man.mtool.work/php/8.3/function.touch.html
- EvStat::attr — Returns the values most recently detected by Ev | PHP 8.3 11126
- EvStat::attr (PECL ev >= 0.2.0) EvStat::attr — Returns the values most recently detected by Ev 説明 public function EvStat::attr (): array Returns array of the values most recently detected by Ev パラメータ この関数にはパラメータはありません
... owner 'rdev' device ID (if special file) 'blksize' blocksize for file system I/O 'blocks' number of 512B blocks allocated 'atime' time of last access 'ctime' time of last status change 'mtime' time of last modification See stat(2) man page for details ... " ; $attr = $w -> attr (); if ( $attr [ 'nlink' ]) { printf ( "Current size: %ld\n" , $attr [ 'size' ]); printf ( "Current atime: %ld\n" , $attr [ 'atime' ]); printf ( "Current mtime: %ld\n" , $attr [ 'mtime' ]); } else { fprintf ( STDERR , "`messages ...
-
https://man.mtool.work/php/8.3/evstat.attr.html
- Yac::dump — Dump cache entries for inspection | PHP 8.3 10439
- Yac::dump (PECL yac >= 1.0.0) Yac::dump — Dump cache entries for inspection 説明 public function Yac::dump ( int $limit = 100 , int $offset = 0 ): array Dumps metadata of the entries currently stored in the cache. The values themselves are
... ompression saves per entry. size The allocated size of the value block in shared memory, in bytes. 0 for embedded entries. atime The last access time (Unix time), updated on each successful Yac::get() . When the cache is full, the entry with the oldes ... t atime among the candidate slots is evicted first (as of yac 2.4.0). hits A per-entry hit counter, bumped on each successful Yac: ... 0] => Array ( [index] => 12345 [hash] => 14463105906481965911 [crc] => 0 [ttl] => 0 [k_len] => 3 [v_len] => 3 [size] => 0 [atime] => 1725955200 [hits] => 0 [embedded] => 1 [key] => foo ) [1] => Array ( [index] => 12987 [hash] => 15132029420525657053 [ ...
-
https://man.mtool.work/php/8.3/yac.dump.html
- EvStat::__construct — Constructs EvStat watcher object | PHP 8.3 9752
- EvStat::__construct (PECL ev >= 0.2.0) EvStat::__construct — Constructs EvStat watcher object 説明 public function EvStat::__construct ( string $path , float $interval , callable $callback , mixed $data = null , int $priority = 0 ) Construc
... " ; $attr = $w -> attr (); if ( $attr [ 'nlink' ]) { printf ( "Current size: %ld\n" , $attr [ 'size' ]); printf ( "Current atime: %ld\n" , $attr [ 'atime' ]); printf ( "Current mtime: %ld\n" , $attr [ 'mtime' ]); } else { fprintf ( STDERR , "`messages ...
-
https://man.mtool.work/php/8.3/evstat.construct.html
- eio_utime — ファイルの最終アクセス時刻と変更時刻を変更する | PHP 8.3 9082
- eio_utime (PECL eio >= 0.0.1dev) eio_utime — ファイルの最終アクセス時刻と変更時刻を変更する 説明 function eio_utime ( string $path , float $atime , float $mtime , int $pri = EIO_PRI_DEFAULT , callable $callback = NULL , mixed $data = NULL )
... : resource パラメータ path ファイルへのパス。 atime アクセス時刻。 mtime 変更時刻。 pri リクエストの優先順位。 EIO_PRI_DEFAULT 、 EIO_PRI_MIN 、 EIO_PRI_MAX あるいは null を指 ...
-
https://man.mtool.work/php/8.3/function.eio-utime.html
- ssh2_sftp_stat — リモートファイルシステム上のファイルの情報を取得する | PHP 8.3 9082
- ssh2_sftp_stat (PECL ssh2 >= 0.9.0) ssh2_sftp_stat — リモートファイルシステム上のファイルの情報を取得する 説明 function ssh2_sftp_stat ( resource $sftp , string $path ): array | false シンボリックリンクを辿って リモートファイルシステム上のフ
... $sftp , '/path/to/file' ); $filesize = $statinfo [ 'size' ]; $group = $statinfo [ 'gid' ]; $owner = $statinfo [ 'uid' ]; $atime = $statinfo [ 'atime' ]; $mtime = $statinfo [ 'mtime' ]; $mode = $statinfo [ 'mode' ]; ?> 参考 ssh2_sftp_lstat() - シンボリ ...
-
https://man.mtool.work/php/8.3/function.ssh2-sftp-stat.html
- eio_futime — ファイルの最終アクセス時刻と変更時刻を変更する | PHP 8.3 8897
- eio_futime (PECL eio >= 0.0.1dev) eio_futime — ファイルの最終アクセス時刻と変更時刻を変更する 説明 function eio_futime ( mixed $fd , float $atime , float $mtime , int $pri = EIO_PRI_DEFAULT , callable $callback = NULL , mixed $data = NULL )
... ます。 パラメータ fd ストリーム、ソケットリソース、あるいは数値で表したファイルディスクリプタ ( eio_open() が返すものなど)。 atime アクセス時刻。 mtime 変更時刻。 pri リクエストの優先順位。 EIO_PRI_DEFAULT 、 EIO_PRI_MIN 、 EIO_PRI_MAX あるいは null を指 ...
-
https://man.mtool.work/php/8.3/function.eio-futime.html
- ssh2_sftp_lstat — シンボリックリンクの情報を取得する | PHP 8.3 8897
- ssh2_sftp_lstat (PECL ssh2 >= 0.9.0) ssh2_sftp_lstat — シンボリックリンクの情報を取得する 説明 function ssh2_sftp_lstat ( resource $sftp , string $path ): array | false リンクを辿ら ない で リモートファイルシステムのシンボリックリンクの情報
... ftp , '/path/to/symlink' ); $filesize = $statinfo [ 'size' ]; $group = $statinfo [ 'gid' ]; $owner = $statinfo [ 'uid' ]; $atime = $statinfo [ 'atime' ]; $mtime = $statinfo [ 'mtime' ]; $mode = $statinfo [ 'mode' ]; ?> 参考 ssh2_sftp_stat() - リモート ...
-
https://man.mtool.work/php/8.3/function.ssh2-sftp-lstat.html
- fileatime — ファイルの最終アクセス時刻を取得する | PHP 8.3 8562
- fileatime (PHP 4, PHP 5, PHP 7, PHP 8) fileatime — ファイルの最終アクセス時刻を取得する 説明 function fileatime ( string $filename ): int | false 指定したファイルの最終アクセス時刻を取得します。 パラメータ filename ファイルへのパス。 戻り値
... を返します。 時間は Unix タイムスタンプとして返されます。 エラー / 例外 失敗したときは E_WARNING が発生します。 例 例1 fileatime() の例 <?php // 出力例 somefile.txt was last accessed: December 29 2002 22:16:23. $filename = 'somefile.txt' ; if ( file_e ... xists ( $filename )) { echo " $filename was last accessed: " . date ( "F d Y H:i:s." , fileatime ( $filename )); } ?> 注意 注意 : ファイルの atime は、 ファイルのデータブロックが読み込まれる度に変更されるとみなされます。 ... に性能上の負荷となる可能性があります。 Unix のファイルシステムの中には、 このようなアプリケーションの性能を向上させるために atime の更新を無効としてマウントできるものもあります。 USENET のニューススプールが一般的な例です。 このようなファイルシステムでは ...
-
https://man.mtool.work/php/8.3/function.fileatime.html