1--TEST--
2IntlDateFormat constructor failure
3--INI--
4date.timezone=Mars/Utopia_Planitia
5--EXTENSIONS--
6intl
7--FILE--
8<?php
9
10try {
11  new \IntlDateFormatter('en_US', \IntlDateFormatter::FULL, \IntlDateFormatter::FULL);
12  echo "Wat?";
13} catch (\IntlException $e) {
14  echo $e->getMessage();
15}
16?>
17--EXPECTF--
18Warning: PHP Startup: Invalid date.timezone value 'Mars/Utopia_Planitia', using 'UTC' instead in %s on line %d
19Wat?
20