Added support for initializing class variables to arrays.
Fixed issue with foreach iterating over self::$variable not generating correct code.