1--TEST--
2IntlDateFormat constructor failure
3--INI--
4date.timezone=Mars/Utopia_Planitia
5--SKIPIF--
6<?php
7extension_loaded('intl') || print 'skip';
8--FILE--
9<?php
10
11try {
12  new \IntlDateFormatter('en_US', \IntlDateFormatter::FULL, \IntlDateFormatter::FULL);
13  echo "Wat?";
14} catch (\IntlException $e) {
15  echo $e->getMessage();
16}
17?>
18--EXPECT--
19IntlDateFormatter::__construct(): Invalid date.timezone value 'Mars/Utopia_Planitia', we selected the timezone 'UTC' for now.
20