[TYPO3-dam-devel] FYI72: #17522: Use of deprecated function 'split()'

Georg Ringer mail at ringerge.org
Wed Mar 9 08:45:00 CET 2011


Hi,

Am 04.03.2011 16:01, schrieb Dan Osipov:
> Isn't a proper replacement for split() in PHP 5.3+ explode()? Are there
> any advantages to using preg_split()?

if it is just a split by the same string, explode should be used as it
is faster. if you need regular expressions, of course preg_split is needed.

Georg


More information about the TYPO3-team-dam mailing list