[TYPO3-core] optional array arguments
Ingmar Schlecht
ingmar at typo3.org
Thu Apr 27 09:22:35 CEST 2006
Michael Scharkow schrieb:
> IMO type casting/hinting is the wrong solution to this problem because
> loose typing is actually a good thing if implemented correctly. I've
> seen the foreach issue for ages in the PHP bugtracker and really wonder
> why they can't fix it.
What we could do about it is writing a custom error handler function
(http://php.net/set_error_handler) and ignore foreach errors.
cheers
Ingmar
More information about the TYPO3-team-core
mailing list