mirror of
https://github.com/php/php-src.git
synced 2024-12-04 23:34:25 +08:00
18 lines
269 B
PHP
18 lines
269 B
PHP
--TEST--
|
|
date_default_timezone_get() function [1]
|
|
--SKIPIF--
|
|
<?php
|
|
if(substr(PHP_OS, 0, 3) == 'WIN') die("skip on windows");
|
|
?>
|
|
--INI--
|
|
date.timezone=
|
|
--FILE--
|
|
<?php
|
|
putenv('TZ=');
|
|
echo date_default_timezone_get(), "\n";
|
|
echo date('e'), "\n";
|
|
?>
|
|
--EXPECT--
|
|
UTC
|
|
UTC
|