php-src/ext/date/tests/bug45081.phpt
Gabriel Caruso ded3d984c6 Use EXPECT instead of EXPECTF when possible
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00

16 lines
255 B
PHP

--TEST--
Bug #45081 (strtotime incorrectly interprets SGT time zone)
--INI--
date.timezone=Asia/Singapore
--FILE--
<?php
print strtotime('2008-05-23 00:00:00 +08');
print "\n";
print strtotime('2008-05-23 00:00:00');
?>
--EXPECT--
1211472000
1211472000