<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mohammed CHERIFI &#187; array to stdClass</title>
	<atom:link href="http://www.mcherifi.org/tag/array-to-stdclass/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mcherifi.org</link>
	<description>Another Web Developper Blog!</description>
	<lastBuildDate>Tue, 31 Jan 2012 18:42:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP Convertir un tableau en objet stdClass</title>
		<link>http://www.mcherifi.org/developpement-web/php/php-convertir-un-tableau-en-objet-stdclass.html</link>
		<comments>http://www.mcherifi.org/developpement-web/php/php-convertir-un-tableau-en-objet-stdclass.html#comments</comments>
		<pubDate>Wed, 30 Dec 2009 14:04:30 +0000</pubDate>
		<dc:creator>Mohammed CHERIFI</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[array to stdClass]]></category>
		<category><![CDATA[php array to object]]></category>
		<category><![CDATA[stdClass]]></category>
		<category><![CDATA[type casting]]></category>

		<guid isPermaLink="false">http://www.mcherifi.org/?p=523</guid>
		<description><![CDATA[TweetHola les amis!
Travailler avec des tableaux en PHP est parfois embêtant, surtout quand il s&#8217;agit d&#8217;un long tableau avec une dizaine d&#8217;éléments, je préfère écrire 
$obj->element1->element2->element3
 plutôt  que 
$obj['element1']['element2']['element3']
Dans ce tutoriel on verra comment convertir une variable de type Array à un objet de type stdClass:
On considère le tableau suivant : 

$tab = array(
	&#039;key1&#039; [...]]]></description>
			<content:encoded><![CDATA[<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.mcherifi.org/developpement-web/php/php-convertir-un-tableau-en-objet-stdclass.html" data-text="PHP Convertir un tableau en objet stdClass" data-count="horizontal">Tweet</a><p>Hola les amis!</p>
<p>Travailler avec des tableaux en PHP est parfois embêtant, surtout quand il s&#8217;agit d&#8217;un long tableau avec une dizaine d&#8217;éléments, je préfère écrire </p>
<blockquote><p>$obj->element1->element2->element3</p></blockquote>
<p> plutôt  que </p>
<blockquote><p>$obj['element1']['element2']['element3']</p></blockquote>
<p>Dans ce tutoriel on verra comment convertir une variable de type Array à un objet de type stdClass:<br />
On considère le tableau suivant : </p>
<pre class="brush: php">
$tab = array(
	&#039;key1&#039; =&gt;; &#039;Hello&#039;,
 	&#039;key2&#039; =&gt; array(
			&#039;subkey1&#039;=&gt;&#039;subval1&#039;,
			&#039;subkey2&#039;=&gt;&#039;subval2&#039;,
			&#039;subkey3&#039;=&gt; array(&#039;foo&#039;=&gt;&#039;bar&#039;)
		  )
        );
</pre>
<h2>Première méthode : Type Casting</h2>
<p>Le <a href="http://www.php.net/manual/fr/language.types.type-juggling.php#language.types.typecasting" target="_blank">type casting</a> est une méthode qui consiste à forcer le type d&#8217;une variable en la précédant du type voulu, exemple : </p>
<pre class="brush: php">
function array_to_object($tab)
{
  return (object)$tab ;
}

$tab = array(
	&#039;key1&#039; =&gt; &#039;Hello&#039;,
 	&#039;key2&#039; =&gt; array(
			&#039;subkey1&#039;=&gt;&#039;subval1&#039;,
			&#039;subkey2&#039;=&gt;&#039;subval2&#039;,
			&#039;subkey3&#039;=&gt; array(&#039;foo&#039;=&gt;&#039;bar&#039;)
		  )
        );

print_r(array_to_object($tab));
</pre>
<p>Cette méthode marche, mais elle n&#8217;est pas récursive, du coup seules les premiers éléments du tableau sont convertis en objets stdClass (key1,key2), le subkey3 reste toujours de type Array :</p>
<pre class="brush: plain">
stdClass Object
(
    [key1] =&gt; Hello
    [key2] =&gt; Array
        (
            [subkey1] =&gt; subval1
            [subkey2] =&gt; subval2
            [subkey3] =&gt; Array
                (
                    [foo] =&gt; bar
                )
        )
)
</pre>
<p>Pour accéder à la valeur de la clé &laquo;&nbsp;foo&nbsp;&raquo;, du sous-tableau &laquo;&nbsp;subkey3&#8243; on doit faire : <i>$tab->key2['subkey3]['foo']</i>, ce qui est un peu chiant, on doit donc parcourir le tableau de façon récursive pour obtenir : <i>$tab->key2->subkey3->foo</i>! </p>
<h2>Deuxième méthode: une fonction array_to_object()</h2>
<pre class="brush: php">
function array_to_object($tab)
{
	$data = new stdClass ;
	if(is_array($tab) &amp;&amp; !empty($tab))
	{
		foreach($tab as $key =&gt; $val)
		{
			if(is_array($val))
				$data-&gt;$key = array_to_object($val);
			else
				$data-&gt;$key = $val ;
		}
	}
	return $data ;
}

$tab = array(
	&#039;key1&#039; =&gt; &#039;Hello&#039;,
 	&#039;key2&#039; =&gt; array(
			&#039;subkey1&#039;=&gt;&#039;subval1&#039;,
			&#039;subkey2&#039;=&gt;&#039;subval2&#039;,
			&#039;subkey3&#039;=&gt; array(&#039;foo&#039;=&gt;&#039;bar&#039;)
		  )
        );

print_r(array_to_object($tab));
</pre>
<p>Résultat d&#8217;exécution : </p>
<pre class="brush: plain">
stdClass Object
(
    [key1] =&gt; Hello
    [key2] =&gt; stdClass Object
        (
            [subkey1] =&gt; subval1
            [subkey2] =&gt; subval2
            [subkey3] =&gt; stdClass Object
                (
                    [foo] =&gt; bar
                )
        )
)
</pre>
<p>Et voilà, tout est objet! ainsi on peut faire : <em>$tab->key2->subkey3->foo</em> ce qui est plus joli à mon gout =)</p>
<p>Happy coding</p>



Partager cet article:


	<a rel="nofollow"  target="_blank" href="http://www.mcherifi.org/wp-content/plugins/sociable/awesmate.php?c=twitter&t=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html&d=http://twitter.com/home?status=PHP%20Convertir%20un%20tableau%20en%20objet%20stdClass%20-%20TARGET" title="Twitter"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mcherifi.org/wp-content/plugins/sociable/awesmate.php?c=facebook-post&t=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html&d=http://www.facebook.com/share.php?u=TARGET%26t=PHP%20Convertir%20un%20tableau%20en%20objet%20stdClass" title="Facebook"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html&amp;title=PHP%20Convertir%20un%20tableau%20en%20objet%20stdClass&amp;annotation=Hola%20les%20amis%21%0D%0A%0D%0ATravailler%20avec%20des%20tableaux%20en%20PHP%20est%20parfois%20emb%C3%AAtant%2C%20surtout%20quand%20il%20s%27agit%20d%27un%20long%20tableau%20avec%20une%20dizaine%20d%27%C3%A9l%C3%A9ments%2C%20je%20pr%C3%A9f%C3%A8re%20%C3%A9crire%20%0D%0A%0D%0A%24obj-%3Eelement1-%3Eelement2-%3Eelement3%0D%0A%0D%0A%20plut%C3%B4t%20%20que%20%0D%0A%0D%0A%24obj%5B%27element1%27%5D%5B%27e" title="Google Bookmarks"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html&amp;title=PHP%20Convertir%20un%20tableau%20en%20objet%20stdClass&amp;notes=Hola%20les%20amis%21%0D%0A%0D%0ATravailler%20avec%20des%20tableaux%20en%20PHP%20est%20parfois%20emb%C3%AAtant%2C%20surtout%20quand%20il%20s%27agit%20d%27un%20long%20tableau%20avec%20une%20dizaine%20d%27%C3%A9l%C3%A9ments%2C%20je%20pr%C3%A9f%C3%A8re%20%C3%A9crire%20%0D%0A%0D%0A%24obj-%3Eelement1-%3Eelement2-%3Eelement3%0D%0A%0D%0A%20plut%C3%B4t%20%20que%20%0D%0A%0D%0A%24obj%5B%27element1%27%5D%5B%27e" title="del.icio.us"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvibes.com/share?title=PHP%20Convertir%20un%20tableau%20en%20objet%20stdClass&amp;url=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html" title="Netvibes"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.viadeo.com/shareit/share/?url=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html&title=PHP%20Convertir%20un%20tableau%20en%20objet%20stdClass&urllanguage=fr" title="viadeo FR"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/viadeo.png" title="viadeo FR" alt="viadeo FR" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html&amp;title=PHP%20Convertir%20un%20tableau%20en%20objet%20stdClass&amp;bodytext=Hola%20les%20amis%21%0D%0A%0D%0ATravailler%20avec%20des%20tableaux%20en%20PHP%20est%20parfois%20emb%C3%AAtant%2C%20surtout%20quand%20il%20s%27agit%20d%27un%20long%20tableau%20avec%20une%20dizaine%20d%27%C3%A9l%C3%A9ments%2C%20je%20pr%C3%A9f%C3%A8re%20%C3%A9crire%20%0D%0A%0D%0A%24obj-%3Eelement1-%3Eelement2-%3Eelement3%0D%0A%0D%0A%20plut%C3%B4t%20%20que%20%0D%0A%0D%0A%24obj%5B%27element1%27%5D%5B%27e" title="Digg"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html&amp;title=PHP%20Convertir%20un%20tableau%20en%20objet%20stdClass&amp;source=Mohammed+CHERIFI+Another+Web+Developper+Blog%21&amp;summary=Hola%20les%20amis%21%0D%0A%0D%0ATravailler%20avec%20des%20tableaux%20en%20PHP%20est%20parfois%20emb%C3%AAtant%2C%20surtout%20quand%20il%20s%27agit%20d%27un%20long%20tableau%20avec%20une%20dizaine%20d%27%C3%A9l%C3%A9ments%2C%20je%20pr%C3%A9f%C3%A8re%20%C3%A9crire%20%0D%0A%0D%0A%24obj-%3Eelement1-%3Eelement2-%3Eelement3%0D%0A%0D%0A%20plut%C3%B4t%20%20que%20%0D%0A%0D%0A%24obj%5B%27element1%27%5D%5B%27e" title="LinkedIn"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=PHP%20Convertir%20un%20tableau%20en%20objet%20stdClass&amp;url=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html" title="Slashdot"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html" title="Sphinn"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html&amp;title=PHP%20Convertir%20un%20tableau%20en%20objet%20stdClass" title="Mixx"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a  target="_blank" href="http://blogplay.com" title="Blogplay"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html" title="Identi.ca"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/identica.png" title="Identi.ca" alt="Identi.ca" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html&amp;partner=sociable" title="Print"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mcherifi.org/wp-content/plugins/sociable/awesmate.php?c=pingfm&t=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html&d=http://ping.fm/ref/?link=TARGET%26title=PHP%20Convertir%20un%20tableau%20en%20objet%20stdClass%26body=Hola%20les%20amis%21%0D%0A%0D%0ATravailler%20avec%20des%20tableaux%20en%20PHP%20est%20parfois%20emb%C3%AAtant%2C%20surtout%20quand%20il%20s%27agit%20d%27un%20long%20tableau%20avec%20une%20dizaine%20d%27%C3%A9l%C3%A9ments%2C%20je%20pr%C3%A9f%C3%A8re%20%C3%A9crire%20%0D%0A%0D%0A%24obj-%3Eelement1-%3Eelement2-%3Eelement3%0D%0A%0D%0A%20plut%C3%B4t%20%20que%20%0D%0A%0D%0A%24obj%5B%27element1%27%5D%5B%27e" title="Ping.fm"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mcherifi.org/wp-content/plugins/sociable/awesmate.php?c=mailto&t=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html&d=mailto:?subject=PHP%20Convertir%20un%20tableau%20en%20objet%20stdClass%26body=TARGET" title="email"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://posterous.com/share?linkto=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html&amp;title=PHP%20Convertir%20un%20tableau%20en%20objet%20stdClass&amp;selection=Hola%20les%20amis%21%0D%0A%0D%0ATravailler%20avec%20des%20tableaux%20en%20PHP%20est%20parfois%20emb%C3%AAtant%2C%20surtout%20quand%20il%20s%27agit%20d%27un%20long%20tableau%20avec%20une%20dizaine%20d%27%C3%A9l%C3%A9ments%2C%20je%20pr%C3%A9f%C3%A8re%20%C3%A9crire%20%0D%0A%0D%0A%24obj-%3Eelement1-%3Eelement2-%3Eelement3%0D%0A%0D%0A%20plut%C3%B4t%20%20que%20%0D%0A%0D%0A%24obj%5B%27element1%27%5D%5B%27e" title="Posterous"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/posterous.png" title="Posterous" alt="Posterous" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html&amp;title=PHP%20Convertir%20un%20tableau%20en%20objet%20stdClass" title="Reddit"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html&amp;submitHeadline=PHP%20Convertir%20un%20tableau%20en%20objet%20stdClass&amp;submitSummary=Hola%20les%20amis%21%0D%0A%0D%0ATravailler%20avec%20des%20tableaux%20en%20PHP%20est%20parfois%20emb%C3%AAtant%2C%20surtout%20quand%20il%20s%27agit%20d%27un%20long%20tableau%20avec%20une%20dizaine%20d%27%C3%A9l%C3%A9ments%2C%20je%20pr%C3%A9f%C3%A8re%20%C3%A9crire%20%0D%0A%0D%0A%24obj-%3Eelement1-%3Eelement2-%3Eelement3%0D%0A%0D%0A%20plut%C3%B4t%20%20que%20%0D%0A%0D%0A%24obj%5B%27element1%27%5D%5B%27e&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html&amp;partner=sociable" title="PDF"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mcherifi.org/feed" title="RSS"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.diigo.com/post?url=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html&amp;title=PHP%20Convertir%20un%20tableau%20en%20objet%20stdClass" title="Diigo"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/diigo.png" title="Diigo" alt="Diigo" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=PHP%20Convertir%20un%20tableau%20en%20objet%20stdClass&amp;u=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html" title="Fark"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.blogospherenews.com/submit.php?url=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html&amp;title=PHP%20Convertir%20un%20tableau%20en%20objet%20stdClass" title="Blogosphere News"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/blogospherenews.png" title="Blogosphere News" alt="Blogosphere News" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://cimlap.blogter.hu/index.php?action=suggest_link&amp;title=PHP%20Convertir%20un%20tableau%20en%20objet%20stdClass&amp;url=http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html" title="blogtercimlap"><img src="http://www.mcherifi.org/wp-content/plugins/sociable/images/blogter.png" title="blogtercimlap" alt="blogtercimlap" class="sociable-hovers" /></a>


<br/><br/>
<p class="FacebookLikeButton"><fb:like href="http%3A%2F%2Fwww.mcherifi.org%2Fdeveloppement-web%2Fphp%2Fphp-convertir-un-tableau-en-objet-stdclass.html" layout="standard" show_faces="true" width="450" action="like" colorscheme="light"></fb:like></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcherifi.org/developpement-web/php/php-convertir-un-tableau-en-objet-stdclass.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

