[TYPO3-50-general] PHP6 array keys unicode issue
robert at typo3.org
Wed Jun 13 15:14:29 CEST 2007
Am 13.06.2007 um 14:59 schrieb Elmar Hinz:
> I don't know PHP6. Things may be different. But in PHP4 I wouldn't
> expect to have characters as keys of $matches. I expect integers.
> 0 for the whole matched string. 1 for the first hit, 2 for the
> second and
> so on.
well, that is what the "?P" expression is for - try it with PHP4 or
it will work as well.
The point was, that the array key was a binary string in the one case
a unicode string in the other case - to me that sounds like a bug in
More information about the TYPO3-project-5_0-general