1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 17:22:15 +01:00
Files
archived-php-src/ext/date/tests/bug45081.phpt

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 SGT');
print "\n";
print strtotime('2008-05-23 00:00:00');
?>
--EXPECTF--
1211472000
1211472000