php-src/ext/date/tests/bug35143.phpt
Derick Rethans d732859624 - MF51: Fixed bug #35143 (gettimeofday() ignores current time zone).
- MF51: Fixed tests due to class constants patch.
2005-11-20 20:31:49 +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)
}