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--EXPECT--
18IntlDateFormatter::__construct(): Invalid date.timezone value 'Mars/Utopia_Planitia', we selected the timezone 'UTC' for now.
19