[TYPO3-core] RFC: #6829 - New general template-class usable for FE+BE
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Mon Nov 26 10:11:02 CET 2007
Steffen Kamper schrieb:
> "Martin Kutschker" <Martin.Kutschker at n0spam-blackbox.net> schrieb im
> Newsbeitrag
> news:mailman.1.1196067006.4927.typo3-team-core at lists.netfielders.de...
>> Benjamin Mack schrieb:
>>> I did not add the type hinting though.
>> Good, because it was a general question, not a request.
>>
>> Masi
>>
>
> just a question about type hinting:
>
> there are only 2 possibilities yet (array, object)
> What is the advantange against the usage of
> (array) $foo
The hinting in the function declaration is not a hint at all. If you pass
anything but an array you get a catachable fatal error. Which is IMHO a
good thing. Sloopy typing sucks ;-)
Masi
More information about the TYPO3-team-core
mailing list