[Typo3-dev] suggestion for t3lib_div::xml2array()

Martin T. Kutschker Martin.T.Kutschker at blackbox.net
Mon Mar 29 17:54:31 CEST 2004


Wolfgang Klinger wrote:
>  *hiya!*
> On 14:33 Mon 29 Mar     , Kasper Skårhøj wrote:
> 
>>- serialize() automatically sees '0' and 0 as an integer key in the
>>array - probably because PHP internally does so!
> 
>  This is the normal behaviour of arrays, if the key can be interpreted
>  as integer it will be interpreted as integer...
>  (e.g. "01" is a string, while "1" alone will be interpreted as integer)

So the n0 element and the "numIndex" attribute are obsolete. Everything 
is fine with the "index" attribute.

Wolfgang, couldn't you have told us earlier in the thread that the whole 
point was moot? ;-)

Masi





More information about the TYPO3-dev mailing list