pawaclawczyk / SymfonyUpgradeHelper

This tool will helps you upgrade your Symfony2 project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The item element is now converted to an array when deserializing XML.

pawaclawczyk opened this issue · comments

  • The item element is now converted to an array when deserializing XML.

    <?xml version="1.0"?>
    <response>
        <item><title><![CDATA[title1]]></title></item><item><title><![CDATA[title2]]></title></item>
    </response>

    Before:

    Array()
    

    After:

    Array(
        [item] => Array(
            [0] => Array(
                [title] => title1
            )
            [1] => Array(
                [title] => title2
            )
        )
    )