Im using the answer to this question to convert an array of XML to a single XML output:
Output array of XML to plain XML
Im using the simpler solution of the two there (Marked as the answer)
It all works for me, however at the start of the output I get:
string(109960) "
Can anyone shed any light on this?
This looks like you are using
var_dumpto output your XML string :Instead of just using
echo:It would explain :
string— which is the type of the variable passed as a parameter tovar_dump109960— which is the length of your string.var_dump()is useful ; but should only be used when you are debugging, as it outputs more (debugging) informations than just the content of the variable.