I've noticed this and am not sure how to work with it.
Basically, it seems PHP magically creates sub-arrays if you use them?
// $moo is not defined
$moo['agagag']['sdfsdf'][] = 4654645;
// no E_NOTICE or anything, it creates the array
// array(
// 'agagag' => array(
// 'sdfsdf' => array(
// 0 => 4654645
// )
// )
// )
Is this behavior documented anywhere? Is it safe to use?
(I'm used to creating each level manually, this feels really weird)