1--TEST--
2MessageFormatter::format(): mixed named and numeric parameters
3--SKIPIF--
4<?php
5if (!extension_loaded('intl'))
6	die('skip intl extension not enabled');
7if (version_compare(INTL_ICU_VERSION, '4.8') < 0)
8	die('skip for ICU 4.8+');
9--FILE--
10<?php
11ini_set("intl.error_level", E_WARNING);
12//ini_set("intl.default_locale", "nl");
13
14$mf = new MessageFormatter('en_US',
15	"{0,number} -- {foo,ordinal}");
16
17var_dump($mf->format(array(2.3, "foo" => 1.3)));
18var_dump($mf->format(array("foo" => 1.3, 0 => 2.3)));
19
20?>
21==DONE==
22--EXPECT--
23string(10) "2.3 -- 1st"
24string(10) "2.3 -- 1st"
25==DONE==