[TYPO3-core] t3lib_div::breakTextForEmail
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Mon Oct 9 17:05:39 CEST 2006
Wolfgang Klinger schrieb:
> *hiya!*
>
> On Mon, 09 Oct 2006, Martin Kutschker wrote the following:
>
>>Can somebody explain why array_merge is used to append a string to an array?
>
>
> You would favor array_push or what?
> What's the problem with array_merge beside that it's much slower
> (array_merge takes 33.694, array_push 10.49)?
According to bug #4021 [1] it is a problem with PHP5.
Mind that array_merge operates with arrays not strings, so it's either
array_push() or $array[] but never array_merge().
Masi
[1] http://bugs.typo3.org/view.php?id=4021
More information about the TYPO3-team-core
mailing list