mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
15 lines
271 B
PHP
15 lines
271 B
PHP
--TEST--
|
|
date_default_timezone_get() function [3]
|
|
--INI--
|
|
date.timezone=Europe/Rome
|
|
--FILE--
|
|
<?php
|
|
echo date_default_timezone_get(), "\n";
|
|
|
|
date_default_timezone_set("America/Chicago");
|
|
echo date_default_timezone_get(), "\n";
|
|
?>
|
|
--EXPECT--
|
|
Europe/Rome
|
|
America/Chicago
|