[TYPO3-core] RFC #10511: simplify and speed up t3lib_div::trimExplode()
Peter Foerger
pfoerger at gmail.com
Sat Feb 21 14:55:24 CET 2009
Hi Ingo,
Ingo Renner schrieb:
> after looking at it I'd say trimExplode's behavior is totally correct by
>
> 1) testcase checkTrimExplodeLimitsResults()
> 2) PHP's manual for explode(): http://php.net/explode
> -> the resulting array is limited to $limit elements, where the last
> element contains the rest of the string that has not been split by
> $delimiter
>
Absolutely correct, but I was thinking about a use case similar to the
attached file. This will fail, won't it?
Cheers
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090221/10d9a33d/attachment.htm
More information about the TYPO3-team-core
mailing list