1--TEST-- 2GH-12532 (PharData created from zip has incorrect timestamp) 3--EXTENSIONS-- 4phar 5zlib 6--FILE-- 7<?php 8 9date_default_timezone_set('UTC'); 10$phar = new PharData(__DIR__ . '/gh12532.zip'); 11echo $phar->getMTime(), "\n"; 12echo $phar->getFileInfo()->getMTime(), "\n"; 13echo date('Y-m-d H:i:s', $phar->getMTime()), "\n"; 14echo date('Y-m-d H:i:s', $phar->getCTime()), "\n"; 15echo date('Y-m-d H:i:s', $phar->getATime()), "\n"; 16 17?> 18--EXPECT-- 191680284661 201680284661 212023-03-31 17:44:21 222023-03-31 17:44:21 232023-03-31 17:44:21 24