fix issue 7227 - [] syntax for empty associative array too?