1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 13:31:27 +02:00
Files
archived-php-src/ext/date/tests/bug45081.phpt
2017-11-07 11:34:55 +00:00

16 lines
256 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');
?>
--EXPECTF--
1211472000
1211472000