<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: SimpleXML debug with var_dump() and print_r()</title>
	<link>http://fromvega.com/wordpress/2007/05/08/simplexml-debug-with-var_dump-and-print_r/</link>
	<description>Throwing code to the wind</description>
	<pubDate>Thu, 17 May 2012 11:24:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.3</generator>

	<item>
		<title>By: seb</title>
		<link>http://fromvega.com/wordpress/2007/05/08/simplexml-debug-with-var_dump-and-print_r/#comment-1317</link>
		<author>seb</author>
		<pubDate>Wed, 10 Mar 2010 11:43:33 +0000</pubDate>
		<guid>http://fromvega.com/wordpress/2007/05/08/simplexml-debug-with-var_dump-and-print_r/#comment-1317</guid>
					<description>or use saveXML method to display the entire document</description>
		<content:encoded><![CDATA[<p>or use saveXML method to display the entire document</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: TC</title>
		<link>http://fromvega.com/wordpress/2007/05/08/simplexml-debug-with-var_dump-and-print_r/#comment-1549</link>
		<author>TC</author>
		<pubDate>Fri, 18 Nov 2011 00:59:18 +0000</pubDate>
		<guid>http://fromvega.com/wordpress/2007/05/08/simplexml-debug-with-var_dump-and-print_r/#comment-1549</guid>
					<description>I've only just came upon this method and it seems to be working fine:

$xml = simplexml_load_string($myVar-&#62;asXML());
$json = json_encode($xml);
$array = json_decode($json,TRUE);
var_dump($array);</description>
		<content:encoded><![CDATA[<p>I&#8217;ve only just came upon this method and it seems to be working fine:</p>
<p>$xml = simplexml_load_string($myVar-&gt;asXML());<br />
$json = json_encode($xml);<br />
$array = json_decode($json,TRUE);<br />
var_dump($array);</p>
]]></content:encoded>
				</item>
</channel>
</rss>

