PHP - XML Read Write | 4456

↩ Home of Tests

https://webkul.com/blog/edit-xml-attributes-php/
SimpleXMLElement Object
(
    [@attributes] => Array
        (
            [val] => 78
        )

    [0] => 1078
)

Content: 1078

Val: 78


Content: 1079

Val: 79

SimpleXMLElement Object
(
    [cnt] => 1079
)