mirror of
https://github.com/php/php-src.git
synced 2024-09-30 06:16:08 +00:00
16 lines
243 B
PHP
16 lines
243 B
PHP
--TEST--
|
|
date_default_timezone_get() function [2]
|
|
--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";
|
|
?>
|
|
--EXPECTF--
|
|
UTC
|