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 >> /php-7.1.11/ext/date/tests/ |
files >> //php-7.1.11/ext/date/tests/bug70277.phpt |
--TEST-- Bug #70277 (new DateTimeZone($foo) is ignoring text after null byte) --FILE-- <?php $timezone = "Europe/Zurich\0Foo"; var_dump(timezone_open($timezone)); var_dump(new DateTimeZone($timezone)); ?> --EXPECTF-- Warning: timezone_open(): Timezone must not contain null bytes in %sbug70277.php on line %d bool(false) Fatal error: Uncaught Exception: DateTimeZone::__construct(): Timezone must not contain null bytes in %sbug70277.php:%d Stack trace: #0 %sbug70277.php(%d): DateTimeZone->__construct('Europe/Zurich\x00F...') #1 {main} thrown in %sbug70277.php on line %dy~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`