[TYPO3-core] RFC: #15440: isFirstPartOfStr doesn't work with non-strings

Steffen Kamper info at sk-typo3.de
Thu Aug 12 16:04:06 CEST 2010


Hi,

i generally would agree, but not in this case.
* cast was there before too but only for one var
* function is old and heavy in use, type hint will break a lot of 
existing code

So i go for the solution i did in the patch here and cast the vars both.

vg Steffen


More information about the TYPO3-team-core mailing list