Using SOAP to generate XML attributes in PHP

前端 未结 2 636
孤独总比滥情好
孤独总比滥情好 2021-01-13 19:40

I found you can generate this in SOAP in php:

12345

With this:

array(\"foo\" => arra         


        
2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-13 20:01

    I don't have a quick way of testing, but maybe this would work:

    $a = array(
        'foo' => array(
            'bar' => 'blah',
            'aaa' => array(
                '_' => 'blah',
                'a' => "b",
            ),
        ),  
    );
    

提交回复
热议问题