@@ -350,11 +350,6 @@ class Hash
$count = count($path);
$last = $count - 1;
foreach ($path as $i => $key) {
- if ((is_numeric($key) && (int)$key > 0 || $key === '0') &&
- strpos($key, '0') !== 0
- ) {
- $key = (int)$key;
- }
if ($op === 'insert') {
if ($i === $last) {
$_list[$key] = $values;