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