php-src/ext/date/tests/bug35143.phpt
Steph Fox 4be7f4aecd - killed off UEXPECT
- com_dotnet gets a .cvsignore
- Ulf will take care of mysql extensions, rest complete
2008-05-27 18:16:04 +00:00

22 lines
326 B
PHP

--TEST--
Bug #35143 (gettimeofday() ignores current time zone)
--FILE--
<?php
date_default_timezone_set("UTC");
var_dump(date_default_timezone_get());
var_dump(gettimeofday());
?>
--EXPECTF--
unicode(3) "UTC"
array(4) {
[u"sec"]=>
int(%d)
[u"usec"]=>
int(%d)
[u"minuteswest"]=>
int(0)
[u"dsttime"]=>
int(0)
}