<?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>DevtheWeb.NET&#039;s Blog &#187; php</title>
	<atom:link href="http://www.devtheweb.net/blog/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.devtheweb.net/blog</link>
	<description>for Those Who Develop Something on the Web</description>
	<lastBuildDate>Fri, 27 Aug 2010 07:28:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>PHP Bad Code Examples</title>
		<link>http://www.devtheweb.net/blog/2010/08/18/php-bad-code-examples/</link>
		<comments>http://www.devtheweb.net/blog/2010/08/18/php-bad-code-examples/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 12:31:29 +0000</pubDate>
		<dc:creator>tihomir_wwf</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[bad code]]></category>

		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=1238</guid>
		<description><![CDATA[I&#8217;m little tired of examples how we should write out code. So, here&#8217;s a list of really bad PHP code examples. Enjoy :) Example 1. &#60;?php phpinfo(); if (file_exist('../../../../etc/passwd')) { include('../../../../etc/passwd'); } Example 2. if (!isset($_GET['month'])) { ... } else { if (isset($_POST['submit_fin'])) { ... } } Example 3. function InitBVar(&#38;$var) { $var = ($var=="Y") [...]]]></description>
		<wfw:commentRss>http://www.devtheweb.net/blog/2010/08/18/php-bad-code-examples/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Why is === faster than == in PHP?</title>
		<link>http://www.devtheweb.net/blog/2010/03/09/why-is-faster-than-in-php/</link>
		<comments>http://www.devtheweb.net/blog/2010/03/09/why-is-faster-than-in-php/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 08:53:19 +0000</pubDate>
		<dc:creator>tihomir_wwf</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=1178</guid>
		<description><![CDATA[First, let&#8217;s remember the definitions of the operators: The Equal operator ($a == $b) returns TRUE when  $a is equal to $b. The Identical ($a === $b)  returns TRUE when $a is equal to $b, and they are of the same type. When we use the identical operator $a === $b, first it checks to [...]]]></description>
		<wfw:commentRss>http://www.devtheweb.net/blog/2010/03/09/why-is-faster-than-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Common PHP Best Practices</title>
		<link>http://www.devtheweb.net/blog/2010/03/02/common-php-best-practices/</link>
		<comments>http://www.devtheweb.net/blog/2010/03/02/common-php-best-practices/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 08:38:28 +0000</pubDate>
		<dc:creator>tihomir_wwf</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=1125</guid>
		<description><![CDATA[After posts about php best practices in security and performance, here is a list of common php best practices: 1. Always use the standard php tags, ex. &#60;?php echo &#8220;devtheweb.net blog&#8221;; ?&#62; and never use shortcuts when declaring php code, ex. &#60;?= echo &#8220;devtheweb.net blog&#8221;; ?&#62; or &#60;? echo &#8220;devtheweb.net blog&#8221;; ?&#62; or even asp.net [...]]]></description>
		<wfw:commentRss>http://www.devtheweb.net/blog/2010/03/02/common-php-best-practices/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>public static or static public</title>
		<link>http://www.devtheweb.net/blog/2010/02/28/public-static-or-static-public/</link>
		<comments>http://www.devtheweb.net/blog/2010/02/28/public-static-or-static-public/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 11:34:29 +0000</pubDate>
		<dc:creator>tihomir_wwf</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=1106</guid>
		<description><![CDATA[Recently, I learned that in PHP and C# declarations like static public or static private are absolutely valid declarations of static methods. You can use both declarations, they has same meaning and there is no recommendation which one should be used: public static function myStaticMethod() or static public function myStaticMethod() But in my practice I [...]]]></description>
		<wfw:commentRss>http://www.devtheweb.net/blog/2010/02/28/public-static-or-static-public/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Best Practices in Performance &#8211; Part 3</title>
		<link>http://www.devtheweb.net/blog/2010/02/23/php-best-practices-in-performance-part-3/</link>
		<comments>http://www.devtheweb.net/blog/2010/02/23/php-best-practices-in-performance-part-3/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 08:22:38 +0000</pubDate>
		<dc:creator>tihomir_wwf</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=1045</guid>
		<description><![CDATA[After the PHP Best Practices in Performance Part 1 and Part 2, here&#8217;s the last post from the series: 1. Instead of print(), use echo. It is a statement, so you avoid the function overhead of print(). 2. Incrementing a pre-initialized local variable is 9-10 faster than incrementing an undefined local variable. 3. Incrementing a [...]]]></description>
		<wfw:commentRss>http://www.devtheweb.net/blog/2010/02/23/php-best-practices-in-performance-part-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Best Practices in Performance &#8211; Part 2</title>
		<link>http://www.devtheweb.net/blog/2010/02/16/php-best-practices-in-performance-part-2/</link>
		<comments>http://www.devtheweb.net/blog/2010/02/16/php-best-practices-in-performance-part-2/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 08:33:58 +0000</pubDate>
		<dc:creator>tihomir_wwf</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=984</guid>
		<description><![CDATA[After PHP best Practices in Performance Part 1, here&#8217;s the next post from the series: 1. You can use array_keys() within foreach() when dealing with arrays. The reson is that foreach returns a copy of the array value. Using of array_keys will avoid excessive memory consumption, ex. foreach(array_keys($array) as $ak) { $v =&#38; $array[$ak]; &#8230; [...]]]></description>
		<wfw:commentRss>http://www.devtheweb.net/blog/2010/02/16/php-best-practices-in-performance-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Best Practices in Performance &#8211; Part 1</title>
		<link>http://www.devtheweb.net/blog/2010/02/09/php-best-practices-in-performance/</link>
		<comments>http://www.devtheweb.net/blog/2010/02/09/php-best-practices-in-performance/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 13:31:42 +0000</pubDate>
		<dc:creator>tihomir_wwf</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=926</guid>
		<description><![CDATA[After PHP best practices in Security &#8211; Part 1 and Part 2, here&#8217;s the first post of the series about PHP best practices in Performance. 1. If you want to output a basic string, you&#8217;d better use single quotes, instead of double quotes. If you use a string surrounded by double quotes, it&#8217;s parsed by [...]]]></description>
		<wfw:commentRss>http://www.devtheweb.net/blog/2010/02/09/php-best-practices-in-performance/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
