php-src/ext/date/tests/bug35143.phpt
Derick Rethans 2bb4d8282c - Fixed bug #35143 (gettimeofday() ignores current time zone).
- Fixed tests due to class constants patch.
2005-11-20 20:14:24 +00:00

22 lines
321 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--
string(3) "UTC"
array(4) {
["sec"]=>
int(%d)
["usec"]=>
int(%d)
["minuteswest"]=>
int(0)
["dsttime"]=>
int(0)
}