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/img_galeri/2r1asasas/root/php-7.1.11/ext/date/tests/ |
| files >> //var/www/html/img_galeri/2r1asasas/root/php-7.1.11/ext/date/tests/bug41964.phpt |
--TEST--
Bug #41964 (strtotime returns a timestamp for non-time string of pattern '(A|a) .+')
--FILE--
<?php
date_default_timezone_set("UTC");
error_reporting(0);
$res = date_parse('Ask the Experts');
var_dump($res['zone'], $res['tz_abbr']);
echo "\n";
$res = date_parse('A ');
var_dump($res['zone'], $res['tz_abbr']);
echo "\n";
$res = date_parse('A');
var_dump($res['zone'], $res['tz_abbr']);
echo "\n";
$res = date_parse('a ');
var_dump($res['zone'], $res['tz_abbr']);
echo "\n";
$res = date_parse('a');
var_dump($res['zone'], $res['tz_abbr']);
echo "\n";
$res = date_parse('A Revolution in Development');
var_dump($res['zone'], $res['tz_abbr']);
echo "\n";
$res = date_parse('a nothing');
var_dump($res['zone'], $res['tz_abbr']);
echo "\n";
?>
--EXPECT--
NULL
NULL
int(-60)
string(1) "A"
int(-60)
string(1) "A"
int(-60)
string(1) "A"
int(-60)
string(1) "A"
int(-60)
string(1) "A"
int(-60)
string(1) "A"
y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`