You know about auto-vivification, right? You could just start writing your code and not worry about whether the array you want to use exists or not. When it's needed, auto-vivification will cause it to spring into existence.