Fix #79154: mb_convert_encoding() can modify $from_encoding We must not modify arrays passed by value.