php8.5
Home/ Manual/ phar / Phar/ Phar::getModified

Phar::getModified

PHP function Edit on GitHub ✎

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

Return whether phar was modified

Description

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.

Parameters

No parameters.

Return Values

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

Source: reference/phar/Phar/getModified.xml · from the official PHP manual (php/doc-en)