<?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: Classes</title>
	<atom:link href="http://php.elegosproject.org/2009/07/08/classes/feed/" rel="self" type="application/rss+xml" />
	<link>http://php.elegosproject.org/2009/07/08/classes/</link>
	<description>Free and user-friendly PHP tutorials</description>
	<lastBuildDate>Sat, 17 Apr 2010 11:06:06 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Giacomo</title>
		<link>http://php.elegosproject.org/2009/07/08/classes/comment-page-1/#comment-24</link>
		<dc:creator>Giacomo</dc:creator>
		<pubDate>Sat, 11 Jul 2009 19:45:07 +0000</pubDate>
		<guid isPermaLink="false">http://php.elegosproject.org/?p=103#comment-24</guid>
		<description>Yes, that was indeed a stupid example. Classes are made for huge projects, where an entity has a series of variables. If you load/unload them dynamically calling just $myEntity = new entityClass(&quot;name&quot;); you&#039;ll save a lot of time. In the constructor you may open a MySQL connection, get a lot of data and be allways able to get it / set it when you want ;)</description>
		<content:encoded><![CDATA[<p><code>Yes, that was indeed a stupid example. Classes are made for huge projects, where an entity has a series of variables. If you load/unload them dynamically calling just $myEntity = new entityClass(&#8221;name&#8221;); you&#8217;ll save a lot of time. In the constructor you may open a MySQL connection, get a lot of data and be allways able to get it / set it when you want <img src='http://php.elegosproject.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FaTe</title>
		<link>http://php.elegosproject.org/2009/07/08/classes/comment-page-1/#comment-23</link>
		<dc:creator>FaTe</dc:creator>
		<pubDate>Sat, 11 Jul 2009 19:38:48 +0000</pubDate>
		<guid isPermaLink="false">http://php.elegosproject.org/?p=103#comment-23</guid>
		<description>Couldn&#039;t you just do something like...
&lt;?php
$name = &quot;Giacomo&quot;;
echo(&quot;
Hello $name!
The user is: $name
Bye bye $name&quot;);
?&gt;

It would come to the same outcome, as long as the $name variable is already defined.</description>
		<content:encoded><![CDATA[<p><code>Couldn&#8217;t you just do something like&#8230;<br />&lt;?php<br />$name = &quot;Giacomo&quot;;<br />echo(&quot;<br />Hello $name!<br />The user is: $name<br />Bye bye $name&#8221;);<br />?&gt;</p><p>It would come to the same outcome, as long as the $name variable is already defined.</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
