mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
13 lines
276 B
PHP
13 lines
276 B
PHP
--TEST--
|
|
Test invalid time zone passed to ini_set
|
|
--INI--
|
|
date.timezone=UTC
|
|
--FILE--
|
|
<?php
|
|
|
|
ini_set("date.timezone", "Incorrect/Zone");
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Warning: ini_set(): Invalid date.timezone value 'Incorrect/Zone', using 'UTC' instead in %sini_set_incorrect.php on line %d
|