@@ 117-120 (lines=4) @@ | ||
114 | { |
|
115 | $key = array_shift($keys); |
|
116 | ||
117 | if (! isset($array[$key]) or ! is_array($array[$key])) |
|
118 | { |
|
119 | $array[$key] = array(); |
|
120 | } |
|
121 | ||
122 | $array =& $array[$key]; |
|
123 | } |
|
@@ 403-406 (lines=4) @@ | ||
400 | { |
|
401 | $key = array_shift($keys); |
|
402 | $key = is_numeric($key) ? (int) $key : $key; |
|
403 | if (! isset($temp[$key]) or ! is_array($temp[$key])) |
|
404 | { |
|
405 | $temp[$key] = array(); |
|
406 | } |
|
407 | $temp =& $temp[$key]; |
|
408 | } |
|
409 |