mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
ded3d984c6
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
16 lines
255 B
PHP
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
|