[TYPO3-50-general] TypoScript syntax: Array indexes

Elmar Hinz elmar07 at googlemail.com
Thu Jul 19 12:58:50 CEST 2007

> This definition implies that "anotherObject", "sub1" and "sub2"
> should behave like an array, but they haven't been defined anywhere!
> We could agree on that if objects are created _implicitly_, they
> don't become true "ContentArray" objects but are just dumb PHP arrays


we learn from other languages like JAVA or Ruby that it's quite useful, if
all thingies have an object nature. I think of objects, that implement the
PHP5 Interfaces "ArrayObject" and "Iterator". That gives us the possibility
to enrich these class with other useful functions when needed. We couldn't
do that with plain arrays.


SPL objects are implemented in C. They are fast.



More information about the TYPO3-project-5_0-general mailing list