[TYPO3-core] RFC: small enhancement to t3lib_div::arrayToLogString()

Karsten Dambekalns karsten at typo3.org
Tue Jun 6 12:38:45 CEST 2006


Hi.

On Sunday 04 June 2006 19:41, Martin Kutschker wrote:
> Solution: use t3lib_div::trimExplode() instead of explode(). The former
> may ignore empty keys, but the latter will always return an array with
> at least one element (an empty string).
>
> The patch also moves count() outside of the loop and uses || instead of
> AND/OR which is more in sync with the usual TYPO3 code.

+1, based on readingthe patch.

Karsten
-- 
Karsten Dambekalns
TYPO3 Association - Active Member
http://association.typo3.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060606/63bbe733/attachment.pgp 


More information about the TYPO3-team-core mailing list