1--TEST-- 2date_default_timezone_get() function [1] 3--SKIPIF-- 4<?php 5 if(substr(PHP_OS, 0, 3) == 'WIN') die("skip on windows"); 6?> 7--INI-- 8date.timezone= 9--FILE-- 10<?php 11 putenv('TZ='); 12 echo date_default_timezone_get(), "\n"; 13 echo date('e'), "\n"; 14?> 15--EXPECT-- 16Warning: PHP Startup: Invalid date.timezone value '', using 'UTC' instead in Unknown on line 0 17UTC 18UTC 19