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

Jigal van Hemert jigal at xs4all.nl
Thu Aug 12 15:20:39 CEST 2010


Hi,

On 12-8-2010 14:44, Steffen Kamper wrote:
> Solution: cast input values to string

+1 by reading and testing on trunk.

Although I would have used type hinting if that would have been 
possible, which would give fatal errors if non-strings were passed. But 
that's a matter of policy (convert parameters to correct type or force 
correct type)...

-- 
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh


More information about the TYPO3-team-core mailing list