Peter mentions that here
I remarked on the extension of an array if you write to a non-existing element in my post
For more information, see the wiki Searching the Forum for Answers section.