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