1--TEST--
2MessageFormatter::format() inconsistent types in named argument
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
13$fmt = <<<EOD
14{foo,number} {foo}
15EOD;
16
17$mf = new MessageFormatter('en_US', $fmt);
18var_dump($mf->format(array(7)));
19
20--EXPECTF--
21
22Warning: MessageFormatter::format(): Inconsistent types declared for an argument in %s on line %d
23bool(false)
24