1--TEST--
2Bug #74484 MessageFormatter::formatMessage memory corruption with 11+ named placeholder
3--SKIPIF--
4<?php
5if (!extension_loaded('intl'))
6	die('skip intl extension not enabled');
7?>
8--FILE--
9<?php
10$text = "{a} {b} {c} {d} {e} {f} {g} {h} {i} {j} {k} {l}";
11
12$vars = array(
13  'a' => 1,
14  'b' => 2,
15  'c' => 3,
16  'd' => 4,
17  'e' => 5,
18  'f' => 6,
19  'g' => 7,
20  'h' => 8,
21  'i' => 9,
22  'j' => 10,
23  'k' => 11,
24  'l' => 12
25);
26
27var_dump(MessageFormatter::formatMessage('en_US', $text, $vars));
28
29?>
30==DONE==
31--EXPECT--
32string(26) "1 2 3 4 5 6 7 8 9 10 11 12"
33==DONE==
34