summaryrefslogtreecommitdiff
path: root/ext/date/tests/date_default_timezone_get-2.phpt
blob: b2f4b8232ff22fe4655098e84816406548c6b80e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--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