1--TEST--
2mb_convert_encoding() shouldn't leak keys
3--FILE--
4<?php
5
6$x = "x";
7$array = ["foo" . $x => "bar"];
8mb_convert_encoding($array, 'UTF-8', 'UTF-8');
9var_dump($array);
10
11?>
12--EXPECT--
13array(1) {
14 ["foox"]=>
15 string(3) "bar"
16}
17