As you surely know, arrays are often badly initialized:
<?php
// $array is undefined
$array['index'] = 'value';
?>
Wouldn't it be such a good thing to let the programmers know that this
is a bad habit, by throwing a +/- pedantic error ? I'm not sure which
type would suit for it, but I think its important enough to throw a
E_NOTICE.
I agree. I've always found it weird that no notice is thrown in this
situation. Still I discourage people to code like this.
This was brought up about a year ago and dismissed.