Phar
PHP Manual

Phar::getModified

(PECL phar:1.0.0-1.2.1)

Phar::getModifiedReturn whether phar was modified

Description

bool Phar::getModified ( void )

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.


Phar
PHP Manual