phpday 2027 - Call for Papers

Phar::getModified

(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0)

Phar::getModified — phar が変更されているかどうかを返す

説明

public function Phar::getModified(): bool

このメソッドを使用すると、phar 内のファイルが 削除されたり変更されたりしているかどうかを判断できます。

パラメータ

パラメータはありません。

戻り値

オープンした後でファイルが変更されている場合に true、 そうでない場合に false を返します。

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top