diff --git a/ext/date/tests/date_sun_info_variation2.phpt b/ext/date/tests/date_sun_info_variation2.phpt index 55a782a78cf..8d1492924cf 100644 --- a/ext/date/tests/date_sun_info_variation2.phpt +++ b/ext/date/tests/date_sun_info_variation2.phpt @@ -7,8 +7,7 @@ Test date_sun_info() function : error variations - PAss unexepcted valuesfor lat * Source code: ext/standard/data/php_date.c */ -// supress date() function strict msgs -error_reporting(E_ALL & ~E_STRICT); +date_default_timezone_set("UTC"); echo "*** Testing date_sun_info() : usage variations ***\n"; diff --git a/ext/date/tests/date_sun_info_variation3.phpt b/ext/date/tests/date_sun_info_variation3.phpt index 6a1dd772361..207d205d9f4 100644 --- a/ext/date/tests/date_sun_info_variation3.phpt +++ b/ext/date/tests/date_sun_info_variation3.phpt @@ -7,8 +7,7 @@ Test date_sun_info() function : usage variations - Pass unexpected values for lo * Source code: ext/standard/data/php_date.c */ -// supress date() function strict msgs -error_reporting(E_ALL & ~E_STRICT); +date_default_timezone_set("UTC"); echo "*** Testing date_sun_info() : usage variations ***\n";