Actions
Bug #34625
closedpreg_spliti does not exist
Start date:
2012-03-07
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Description
To resolve #21776 patch 12889 ( http://forge.typo3.org/attachments/13030/12889.diff )
was applied
Updated by Steffen Gebert over 1 year ago Committed to - trunk rev. 8933 - 4-4 rev. 8934 - 4-3 rev. 8935
However the function preg_spliti does not exist ( looks like a search & replace error s/split/preg_split/g )
it should have been
$parts = preg_split('/<title>|<\/title>/i', $content, 3);
Bug affects/is present in;
Typo3;
4.4.12
4.5.10
4.6.3
(and most likely every version since the commit)
Tested in php 5.2.17
I'm a little surprised that we've not noticed this before, given that the error was introduced more than a year ago.
Actions