Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When creating from an array with elements like this: `[ "a" => [ 0 ] ]` or `[ "a" => [ '0' ] ]` it fails and produces XML like this `<a/>` instant of `<a>0</a>`. The problem is that in PHP `empty('0')` is true, so an exception to this case is needed.
- Loading branch information