]> granicus.if.org Git - php/commitdiff
this mtime comparison makes assumptions that cannot always hold true
authorJoe Watkins <krakjoe@php.net>
Sun, 16 Jun 2019 06:29:04 +0000 (08:29 +0200)
committerJoe Watkins <krakjoe@php.net>
Sun, 16 Jun 2019 06:29:04 +0000 (08:29 +0200)
ext/phar/tests/phar_gzip.phpt

index 942ca9c3d088a02e5eee2dffff088237004a5a52..16821caab62787436c1c083169f5ec084c541116 100644 (file)
@@ -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--