summaryrefslogtreecommitdiff
path: root/ext/date/tests/bug45081.phpt
blob: a312b52260cf4196d32e4fd352f9cee5f7fceec5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--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