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/opt/php-7.0.1/ext/date/tests/ |
| files >> /var/www/html/sub/images/sym/root/proc/self/root/opt/php-7.0.1/ext/date/tests/bug41709.phpt |
--TEST--
Bug #41709 (strtotime() does not handle 00.00.0000)
--FILE--
<?php
date_default_timezone_set("UTC");
$date_string = '00.00.0000 - 00:00:00';
print_r(date_parse($date_string));
?>
--EXPECT--
Array
(
[year] => 0
[month] => 0
[day] => 0
[hour] => 0
[minute] => 0
[second] => 0
[fraction] => 0
[warning_count] => 1
[warnings] => Array
(
[22] => The parsed date was invalid
)
[error_count] => 1
[errors] => Array
(
[11] => Unexpected character
)
[is_localtime] =>
)
y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`