[TYPO3-core] RFC: #15440: isFirstPartOfStr doesn't work with non-strings
Steffen Kamper
info at sk-typo3.de
Sun Aug 15 16:50:59 CEST 2010
Hi,
Benjamin Mack schrieb:
> Hey Jigal,
>
> yes, type hinting would be nice. However, maybe we just should have a
> new function for this:
>
> t3lib_string->startsWith($myString, $subString);
>
a good way for compatibility - keep the old and use the new ;)
> also, because I always find it crap to type this long function name :)
>
did i ever mention that typing _getIndpEnv_ is one of the hardest
challenge? :)
vg Steffen
> Benni.
More information about the TYPO3-team-core
mailing list