Consider this:
$numbers = array('a' => 1, 'b' => 2, 'c' => 3);
$a = $numbers['a'];
$a = $numbers['d'];
I would expect $a to equal 1. Since the key ‘d’ doesn’t exist, I would expect
the value of $a to not change. It is set to blank though. Any explanation why
this happens?
Thanks.
_______________________________________________
UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net
