I am using a Webservice Soap that returns a var_export/var_dump (not quite sure) of a PHP array. I need either convert the response into an actual php array or get the values of the specific array in [VALUE] as a list or xml: Formula, Aprueba, Describe, etc.
Thanks in advance!
<getAttribDataResponse xmlns="urn:admin">
<return>Array
(
[0] => Array
(
[CDATTRIBUTE] => 49
[NMATTRIBUTE] => SD1-ACCION
[FGDATATYPE] => 1
[FGATTRIBUTETYPE] => 1
[NMLABEL] => Doc_Acción de la Normativa
[FGMULTIVALUED] => 1
[VALUE] => Array
(
[1721] => Formula
[1477] => Aprueba
[1486] => Describe
[1506] => Reglamenta
[1522] => Constituye
[2128] => Agrega
[1485] => Deroga
[1497] => Oficializa
)
)
)</return>
</getAttribDataResponse>
print_r()btw) Wow. I'd call that a debug printout at the most.echo json_encode($data);