PHP 8.3.0 RC 6 available for testing

Phar::getModified

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

Phar::getModifiedReturn whether phar was modified

说明

public Phar::getModified(): bool

This method can be used to determine whether a phar has either had an internal file deleted, or contents of a file changed in some way.

参数

No parameters.

返回值

true if the phar has been modified since opened, false if not.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top