1--TEST--
2MessageFormatter::format() inconsistent types in named argument
3--EXTENSIONS--
4intl
5--FILE--
6<?php
7ini_set("intl.error_level", E_WARNING);
8
9$fmt = <<<EOD
10{foo,number} {foo}
11EOD;
12
13$mf = new MessageFormatter('en_US', $fmt);
14var_dump($mf->format(array(7)));
15?>
16--EXPECTF--
17Warning: MessageFormatter::format(): Inconsistent types declared for an argument in %s on line %d
18bool(false)
19