<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Tricky concepts in PHP</title>
	<atom:link href="http://mahtonu.wordpress.com/2008/11/18/tricky-concepts-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://mahtonu.wordpress.com/2008/11/18/tricky-concepts-in-php/</link>
	<description>Tonu's another Web blog</description>
	<lastBuildDate>Tue, 06 Oct 2009 15:14:10 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: razon, the Mad</title>
		<link>http://mahtonu.wordpress.com/2008/11/18/tricky-concepts-in-php/#comment-24</link>
		<dc:creator>razon, the Mad</dc:creator>
		<pubDate>Thu, 20 Nov 2008 02:57:41 +0000</pubDate>
		<guid isPermaLink="false">http://mahtonu.wordpress.com/?p=11#comment-24</guid>
		<description>actually require() describe with its name. when you require a file to use. so it didn&#039;t wait for any condition. and due the file requirement its arise a fatal error...

anyway nice tips and tricks</description>
		<content:encoded><![CDATA[<p>actually require() describe with its name. when you require a file to use. so it didn&#8217;t wait for any condition. and due the file requirement its arise a fatal error&#8230;</p>
<p>anyway nice tips and tricks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: M A Hossain Tonu</title>
		<link>http://mahtonu.wordpress.com/2008/11/18/tricky-concepts-in-php/#comment-23</link>
		<dc:creator>M A Hossain Tonu</dc:creator>
		<pubDate>Wed, 19 Nov 2008 17:33:08 +0000</pubDate>
		<guid isPermaLink="false">http://mahtonu.wordpress.com/?p=11#comment-23</guid>
		<description>@Arif Bhai: thnx for ur explanation...</description>
		<content:encoded><![CDATA[<p>@Arif Bhai: thnx for ur explanation&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arif</title>
		<link>http://mahtonu.wordpress.com/2008/11/18/tricky-concepts-in-php/#comment-22</link>
		<dc:creator>Arif</dc:creator>
		<pubDate>Wed, 19 Nov 2008 17:22:37 +0000</pubDate>
		<guid isPermaLink="false">http://mahtonu.wordpress.com/?p=11#comment-22</guid>
		<description>The main difference between require() and include() is &lt;code&gt;require($somefile)&lt;/code&gt; always reads the &lt;code&gt;$somefile&lt;/code&gt;, even if it is put within a condition which will never execute. But &lt;code&gt;include($somefile)&lt;/code&gt; will read the &lt;code&gt;$somefile&lt;/code&gt; &lt;b&gt;only&lt;/b&gt; if the line [where the &lt;code&gt;include()&lt;/code&gt; statement is] is executed.

For example:


if (1=2){
   require($somefile);
}


will include the $somefile, but 


if (1=2){
   include($somefile);
}


will not include that.

Another important difference between them is, &lt;code&gt;require()&lt;/code&gt; causes a fatal error if the file can&#039;t be read for whatsoever reason, but &lt;code&gt;include()&lt;/code&gt; just throws a warning.


Nice attempt though, (Y) Keep up the good work.</description>
		<content:encoded><![CDATA[<p>The main difference between require() and include() is <code>require($somefile)</code> always reads the <code>$somefile</code>, even if it is put within a condition which will never execute. But <code>include($somefile)</code> will read the <code>$somefile</code> <b>only</b> if the line [where the <code>include()</code> statement is] is executed.</p>
<p>For example:</p>
<p>if (1=2){<br />
   require($somefile);<br />
}</p>
<p>will include the $somefile, but </p>
<p>if (1=2){<br />
   include($somefile);<br />
}</p>
<p>will not include that.</p>
<p>Another important difference between them is, <code>require()</code> causes a fatal error if the file can&#8217;t be read for whatsoever reason, but <code>include()</code> just throws a warning.</p>
<p>Nice attempt though, (Y) Keep up the good work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: M A Hossain Tonu</title>
		<link>http://mahtonu.wordpress.com/2008/11/18/tricky-concepts-in-php/#comment-21</link>
		<dc:creator>M A Hossain Tonu</dc:creator>
		<pubDate>Wed, 19 Nov 2008 13:10:12 +0000</pubDate>
		<guid isPermaLink="false">http://mahtonu.wordpress.com/?p=11#comment-21</guid>
		<description>@Anis: Thank you for review. 
All i tried to give you some technical concepts not sprucing up the convention, :)</description>
		<content:encoded><![CDATA[<p>@Anis: Thank you for review.<br />
All i tried to give you some technical concepts not sprucing up the convention, <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anis uddin Ahmad</title>
		<link>http://mahtonu.wordpress.com/2008/11/18/tricky-concepts-in-php/#comment-18</link>
		<dc:creator>Anis uddin Ahmad</dc:creator>
		<pubDate>Wed, 19 Nov 2008 10:26:40 +0000</pubDate>
		<guid isPermaLink="false">http://mahtonu.wordpress.com/?p=11#comment-18</guid>
		<description>Just have a quick look and seems interesting! :)

Please note this points:
* No $ sign used before &quot;somefile&quot; in loop.
* $i is not being increased in loop anyway. You didn&#039;t use increment operator.
* echo() is not a function. It&#039;s a language construct of PHP.
* Prior to PHP 4.0.2, The conditional statement won&#039;t affect require(). 
* The main difference between include() and requir() is that, include() produces a Warning on failure while require() results in a Fatal Error. 

Thanks for this nice post.</description>
		<content:encoded><![CDATA[<p>Just have a quick look and seems interesting! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Please note this points:<br />
* No $ sign used before &#8220;somefile&#8221; in loop.<br />
* $i is not being increased in loop anyway. You didn&#8217;t use increment operator.<br />
* echo() is not a function. It&#8217;s a language construct of PHP.<br />
* Prior to PHP 4.0.2, The conditional statement won&#8217;t affect require().<br />
* The main difference between include() and requir() is that, include() produces a Warning on failure while require() results in a Fatal Error. </p>
<p>Thanks for this nice post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saeed ahmed</title>
		<link>http://mahtonu.wordpress.com/2008/11/18/tricky-concepts-in-php/#comment-17</link>
		<dc:creator>saeed ahmed</dc:creator>
		<pubDate>Tue, 18 Nov 2008 18:45:21 +0000</pubDate>
		<guid isPermaLink="false">http://mahtonu.wordpress.com/?p=11#comment-17</guid>
		<description>its usefull to clear concept.</description>
		<content:encoded><![CDATA[<p>its usefull to clear concept.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NWLink Dir</title>
		<link>http://mahtonu.wordpress.com/2008/11/18/tricky-concepts-in-php/#comment-15</link>
		<dc:creator>NWLink Dir</dc:creator>
		<pubDate>Tue, 18 Nov 2008 12:57:48 +0000</pubDate>
		<guid isPermaLink="false">http://mahtonu.wordpress.com/?p=11#comment-15</guid>
		<description>Nice article. 

Keep it up</description>
		<content:encoded><![CDATA[<p>Nice article. </p>
<p>Keep it up</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srajib</title>
		<link>http://mahtonu.wordpress.com/2008/11/18/tricky-concepts-in-php/#comment-14</link>
		<dc:creator>Srajib</dc:creator>
		<pubDate>Tue, 18 Nov 2008 08:26:45 +0000</pubDate>
		<guid isPermaLink="false">http://mahtonu.wordpress.com/?p=11#comment-14</guid>
		<description>nice tips and triks!!!keep it up dr tonu!!!</description>
		<content:encoded><![CDATA[<p>nice tips and triks!!!keep it up dr tonu!!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
