<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>Comments on: PHP stdClass: Storing Data in an Object Instead of an Array</title>
	<atom:link href="https://www.webmaster-source.com/2009/08/20/php-stdclass-storing-data-object-instead-array/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.webmaster-source.com/2009/08/20/php-stdclass-storing-data-object-instead-array/</link>
	<description>Useful Resources For Webmasters</description>
	<lastBuildDate>Mon, 06 Apr 2026 13:53:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.42</generator>
	<item>
		<title>By: AK</title>
		<link>https://www.webmaster-source.com/2009/08/20/php-stdclass-storing-data-object-instead-array/#comment-39109</link>
		<dc:creator><![CDATA[AK]]></dc:creator>
		<pubDate>Fri, 06 Jul 2018 19:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2474#comment-39109</guid>
		<description><![CDATA[Thanks bro. This was a great explanation.]]></description>
		<content:encoded><![CDATA[<p>Thanks bro. This was a great explanation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shrinivasa</title>
		<link>https://www.webmaster-source.com/2009/08/20/php-stdclass-storing-data-object-instead-array/#comment-39092</link>
		<dc:creator><![CDATA[Shrinivasa]]></dc:creator>
		<pubDate>Wed, 13 Sep 2017 10:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2474#comment-39092</guid>
		<description><![CDATA[Simply Explained :)]]></description>
		<content:encoded><![CDATA[<p>Simply Explained <img src="https://www.webmaster-source.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: [php] structured array &#124; PipisCrew Official Homepage</title>
		<link>https://www.webmaster-source.com/2009/08/20/php-stdclass-storing-data-object-instead-array/#comment-39067</link>
		<dc:creator><![CDATA[[php] structured array &#124; PipisCrew Official Homepage]]></dc:creator>
		<pubDate>Wed, 08 Feb 2017 19:02:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2474#comment-39067</guid>
		<description><![CDATA[[&#8230;] (http://www.webmaster-source.com/2009/08/20/php-stdclass-storing-data-object-instead-array/) writes [&#8230;]]]></description>
		<content:encoded><![CDATA[<p>[&#8230;] (<a href="http://www.webmaster-source.com/2009/08/20/php-stdclass-storing-data-object-instead-array/" rel="nofollow">http://www.webmaster-source.co.....ead-array/</a>) writes [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHP 建立物件來輸出 JSON 格式 - Tsung&#039;s Blog</title>
		<link>https://www.webmaster-source.com/2009/08/20/php-stdclass-storing-data-object-instead-array/#comment-39044</link>
		<dc:creator><![CDATA[PHP 建立物件來輸出 JSON 格式 - Tsung&#039;s Blog]]></dc:creator>
		<pubDate>Mon, 11 Apr 2016 09:31:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2474#comment-39044</guid>
		<description><![CDATA[[&#8230;] PHP stdClass: Storing Data in an Object Instead of an Array [&#8230;]]]></description>
		<content:encoded><![CDATA[<p>[&#8230;] PHP stdClass: Storing Data in an Object Instead of an Array [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lior</title>
		<link>https://www.webmaster-source.com/2009/08/20/php-stdclass-storing-data-object-instead-array/#comment-38192</link>
		<dc:creator><![CDATA[Lior]]></dc:creator>
		<pubDate>Sun, 29 Sep 2013 09:04:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2474#comment-38192</guid>
		<description><![CDATA[I watched some tutorials and wanted to understand how the json_decode() and stdClass work, now I got it.

Thanks for easy to understand article.]]></description>
		<content:encoded><![CDATA[<p>I watched some tutorials and wanted to understand how the json_decode() and stdClass work, now I got it.</p>
<p>Thanks for easy to understand article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mbinu Seo</title>
		<link>https://www.webmaster-source.com/2009/08/20/php-stdclass-storing-data-object-instead-array/#comment-37534</link>
		<dc:creator><![CDATA[Mbinu Seo]]></dc:creator>
		<pubDate>Fri, 23 Aug 2013 12:09:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2474#comment-37534</guid>
		<description><![CDATA[StdClass is a sparsely documented class in PHP which has no predefined members.

$object = new StdClass;
$object-&gt;foo = &#039;xxx&#039;;
json_encode($object);

That was a super nice explanation and it was simple to understand too.]]></description>
		<content:encoded><![CDATA[<p>StdClass is a sparsely documented class in PHP which has no predefined members.</p>
<p>$object = new StdClass;<br />
$object-&gt;foo = &#8216;xxx';<br />
json_encode($object);</p>
<p>That was a super nice explanation and it was simple to understand too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Dibbets</title>
		<link>https://www.webmaster-source.com/2009/08/20/php-stdclass-storing-data-object-instead-array/#comment-33020</link>
		<dc:creator><![CDATA[Michael Dibbets]]></dc:creator>
		<pubDate>Wed, 20 Feb 2013 08:05:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2474#comment-33020</guid>
		<description><![CDATA[Thanks for the clear no nonsense approach.
Too many sites are too much text. This is just simple for programmers to understand!.
Love it.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the clear no nonsense approach.<br />
Too many sites are too much text. This is just simple for programmers to understand!.<br />
Love it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dion PHP</title>
		<link>https://www.webmaster-source.com/2009/08/20/php-stdclass-storing-data-object-instead-array/#comment-26829</link>
		<dc:creator><![CDATA[Dion PHP]]></dc:creator>
		<pubDate>Thu, 06 Dec 2012 11:19:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2474#comment-26829</guid>
		<description><![CDATA[really helpful]]></description>
		<content:encoded><![CDATA[<p>really helpful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>https://www.webmaster-source.com/2009/08/20/php-stdclass-storing-data-object-instead-array/#comment-26631</link>
		<dc:creator><![CDATA[Mike]]></dc:creator>
		<pubDate>Sat, 03 Nov 2012 16:54:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2474#comment-26631</guid>
		<description><![CDATA[Good Article]]></description>
		<content:encoded><![CDATA[<p>Good Article</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Pinegar</title>
		<link>https://www.webmaster-source.com/2009/08/20/php-stdclass-storing-data-object-instead-array/#comment-26553</link>
		<dc:creator><![CDATA[Sean Pinegar]]></dc:creator>
		<pubDate>Wed, 17 Oct 2012 20:08:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2474#comment-26553</guid>
		<description><![CDATA[It&#039;s worth mentioning that if you cast a multidimensional array as an object it only converts the top level to an object. Sub-arrays will still be arrays.

To convert an entire multidimensional array to an object do the following:
$obj = json_decode(json_encode($array));]]></description>
		<content:encoded><![CDATA[<p>It&#8217;s worth mentioning that if you cast a multidimensional array as an object it only converts the top level to an object. Sub-arrays will still be arrays.</p>
<p>To convert an entire multidimensional array to an object do the following:<br />
$obj = json_decode(json_encode($array));</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/


Served from: www.webmaster-source.com @ 2026-04-16 10:07:26 by W3 Total Cache
-->