mirror of
https://github.com/php/php-src.git
synced 2024-10-02 07:16:11 +00:00
12 lines
334 B
PHP
12 lines
334 B
PHP
--TEST--
|
|
date_default_timezone_get() function [4]
|
|
--INI--
|
|
date.timezone=Incorrect/Zone
|
|
--FILE--
|
|
<?php
|
|
echo date_default_timezone_get(), "\n";
|
|
?>
|
|
--EXPECTF--
|
|
Warning: date_default_timezone_get(): Invalid date.timezone value 'Incorrect/Zone', we selected the timezone 'UTC' for now. in %sdate_default_timezone_get-4.php on line %d
|
|
UTC
|