Posted by ZeldorBlat on 11/02/06 20:27
Koncept wrote:
> I just ran a small test out of curiosity to see what would happen and I
> must say that I am surprised at the result. Can anybody explain to me
> why this code returns what it does? Does it make sense or is this a
> bug?
>
> <?php
> $test['k1']['k2'] = 'hello';
> $test['k1']['k2']['k3'] = 'world';
>
> /*
> Array
> (
> [k1] => Array
> (
> [k2] => wello
> )
>
> )
> */
> ?>
>
See this:
<http://bugs.php.net/bug.php?id=37788>
[Back to original message]
|