--TEST--
MessageFormatter::format(): DateTime accepted to format dates and times
+--INI--
+date.timezone=Atlantic/Azores
--SKIPIF--
<?php
if (!extension_loaded('intl'))
==DONE==
--EXPECTF--
string(%s) "May %d, 2012 %d:%d:42 %s"
-==DONE==
\ No newline at end of file
+==DONE==
--TEST--
MessageFormatter::format() invalid date/time argument
+--INI--
+date.timezone=Atlantic/Azores
--SKIPIF--
<?php
if (!extension_loaded('intl'))
--TEST--
MessageFormatter::format(): simple types handling with numeric strings
+--INI--
+date.timezone=Atlantic/Azores
--SKIPIF--
<?php
if (!extension_loaded('intl'))
ordinal 1,336,317,966th
duration 371,199:26:06
"
-==DONE==
\ No newline at end of file
+==DONE==
die('skip intl extension not enabled');
--FILE--
<?php
-exec('pause');
ini_set("intl.error_level", E_WARNING);
-//ini_set("intl.default_locale", "nl");
date_default_timezone_set('Europe/Lisbon'); //ignored for now, see bug #58756
$d = 1336308097.123;
[0]=>
float(1336310569.123)
}
-==DONE==
\ No newline at end of file
+==DONE==
--TEST--
IntlTimeZone::fromDateTimeZone(): argument errors
+--INI--
+date.timezone=Atlantic/Azores
--SKIPIF--
<?php
if (!extension_loaded('intl'))