2
Good afternoon, I’m looking forward to seeing xml
complete from a SOAP web service response, but when I put var_dump
shows only half of it, the other part is replaced by the word "... (length=740)
".
How do I see it complete?
2
Good afternoon, I’m looking forward to seeing xml
complete from a SOAP web service response, but when I put var_dump
shows only half of it, the other part is replaced by the word "... (length=740)
".
How do I see it complete?
1
Print xml from a file_get_contents
is possible with a simple echo
$file = file_get_contents('http://example.com/rss');
echo $file;
There are two more ways:
print ($file);
or using the asXML method:
$xml->asXML('filename.xml');
To work with asXML you must have a Simplexmlelement object that can be seen in this decommissioning: Link
OBS: if you have Xdebug installed it will truncate the result of var_dump
to prevent browser crashes, this is the information link Link
There is a number of Settings that control the output of Xdebug’s modified var_dump() Function: Xdebug.var_display_max_children, Xdebug.var_display_max_data and Xdebug.var_display_max_depth.
Browser other questions tagged php xml
You are not signed in. Login or sign up in order to post.
When I put echo, it doesn’t show the tags.
– Álysson Alexandre
Here is no asXML method
– Álysson Alexandre
@Ályssonalexandre added more information
– Ricardo
Thanks, it worked out, thanks.
– Álysson Alexandre