[Typo3-dev] suggestion for t3lib_div::xml2array()
Martin T. Kutschker
Martin.T.Kutschker at blackbox.net
Sun Mar 28 17:43:49 CEST 2004
Kasper Skårhøj wrote:
>
> xml2array() converts it back and doesn't care if the tag is "numIndex"
> "n0" or "letsCloseThisThread"
That's the point. It does not care, so it creates $arr["0"] instead of
$arr[0], which might or might not be a problem depending on context.
And I agree it's working as you expect. I have not stumbled upon a real
problem in Typo3 now. My point was for completeness. *)
> EOS.
End Of S..? Anyway I agree, this has been going out of hand.
Masi
*) Originally I though that TCE needs an intval as index, because
newloginbox uses n0 for flexforms. So I hacked around to get this
beahviour for attributes. Well, for TCE it works fine, so only the
pedantn point remains.
More information about the TYPO3-dev
mailing list