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