php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /var/www/html/sub/images/sym/root/proc/self/root/php-7.1.11/ext/date/tests/ |
files >> /var/www/html/sub/images/sym/root/proc/self/root/php-7.1.11/ext/date/tests/bug73294.phpt |
--TEST-- Bug #73294: DateTime wrong when date string is negative --FILE-- <?php for ( $i = -1050; $i <= -1000; $i++ ) { $M = "06"; $D = "22"; $dt = new DateTime("{$i}-{$M}-{$D} 00:00:00"); $expected = "{$i}-{$M}-{$D} 00:00:00"; $result = $dt->format('Y-m-d H:i:s'); if ( $expected != $result ) { echo "Wrong: Should have been {$expected}, was {$result}\n"; } } ?> ==DONE== --EXPECT-- ==DONE==y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`