<?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: __toString method is not so magic before PHP 5.2!</title>
	<atom:link href="http://blog.netinfluence.com/2009/08/14/__tostring-is-not-so-magic-before-php-5-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.netinfluence.com/2009/08/14/__tostring-is-not-so-magic-before-php-5-2/</link>
	<description>le blog de l&#039;agence netinfluence</description>
	<lastBuildDate>Tue, 07 Feb 2012 12:22:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Macmade</title>
		<link>http://blog.netinfluence.com/2009/08/14/__tostring-is-not-so-magic-before-php-5-2/comment-page-1/#comment-48</link>
		<dc:creator>Macmade</dc:creator>
		<pubDate>Mon, 17 Aug 2009 14:22:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.netinfluence.ch/?p=49#comment-48</guid>
		<description>&lt;p&gt;This issue only affects string concatenation.&lt;br /&gt;
Prior to PHP 5.2, the __toString() method is called only when the object is printed directly.&lt;/p&gt; &lt;p&gt;So the following will work, even if that&#039;s ugly... ; )&lt;/p&gt; &lt;p&gt;print &#039;There is a &#039;;&lt;br /&gt;
print $Car;&lt;br /&gt;
print &#039; and a &#039;;&lt;br /&gt;
print $redCar;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>This issue only affects string concatenation.<br />
Prior to PHP 5.2, the __toString() method is called only when the object is printed directly.</p>
<p>So the following will work, even if that&#8217;s ugly&#8230; ; )</p>
<p>print &#8216;There is a &#8216;;<br />
print $Car;<br />
print &#8216; and a &#8216;;<br />
print $redCar;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

