Thanks for the patch! Is this new function really needed? It will become obsolete when proper syntax for arrays will be introduced. And it does not help much now anyway because there are no ways to set/get an item from an array.