mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
ded3d984c6
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
16 lines
242 B
PHP
16 lines
242 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";
|
|
?>
|
|
--EXPECT--
|
|
UTC
|