(PHP >= 5.3.0, PECL phar >= 1.0.0)
Phar::getModified — Return whether phar was modified
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.
TRUE if the phar has been modified since opened,
FALSE if not.