From: Joe Watkins Date: Sun, 16 Jun 2019 06:29:04 +0000 (+0200) Subject: this mtime comparison makes assumptions that cannot always hold true X-Git-Tag: php-7.4.0alpha2~82 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=228388447509107d61cb253acb614d8d3e5efabf;p=php this mtime comparison makes assumptions that cannot always hold true --- diff --git a/ext/phar/tests/phar_gzip.phpt b/ext/phar/tests/phar_gzip.phpt index 942ca9c3d0..16821caab6 100644 --- a/ext/phar/tests/phar_gzip.phpt +++ b/ext/phar/tests/phar_gzip.phpt @@ -39,11 +39,6 @@ $a->setAlias('another'); $b = new Phar($fname2); var_dump($b->isFileFormat(Phar::PHAR)); var_dump($b->isCompressed() == Phar::GZ); -$a = stat($pname . '/test'); -$b = stat($pname2 . '/test'); -if ($a['mtime'] != $b['mtime']) { - echo "timestamp changed, was $a[mtime], now $b[mtime]!\n"; -} ?> ===DONE=== --CLEAN--