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