<?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: PHP Tip: Use Arrays to Help With Errors!</title>
	<atom:link href="http://dev-tips.com/featured/php-tip-use-arrays-to-help-with-errors/feed" rel="self" type="application/rss+xml" />
	<link>http://dev-tips.com/featured/php-tip-use-arrays-to-help-with-errors</link>
	<description>Become a Better Developer, One Tip at a Time.</description>
	<lastBuildDate>Wed, 04 Aug 2010 15:39:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: cssbit</title>
		<link>http://dev-tips.com/featured/php-tip-use-arrays-to-help-with-errors#comment-559</link>
		<dc:creator>cssbit</dc:creator>
		<pubDate>Sat, 18 Apr 2009 17:45:52 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=283#comment-559</guid>
		<description>thank for this tips</description>
		<content:encoded><![CDATA[<p>thank for this tips</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shahriat Hossain</title>
		<link>http://dev-tips.com/featured/php-tip-use-arrays-to-help-with-errors#comment-553</link>
		<dc:creator>Shahriat Hossain</dc:creator>
		<pubDate>Fri, 17 Apr 2009 09:46:23 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=283#comment-553</guid>
		<description>So far so good! And it will help me for the next step. Thanks.</description>
		<content:encoded><![CDATA[<p>So far so good! And it will help me for the next step. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew Douglass</title>
		<link>http://dev-tips.com/featured/php-tip-use-arrays-to-help-with-errors#comment-541</link>
		<dc:creator>Drew Douglass</dc:creator>
		<pubDate>Tue, 14 Apr 2009 22:36:03 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=283#comment-541</guid>
		<description>That would certainly work just as well, thanks for the tip!</description>
		<content:encoded><![CDATA[<p>That would certainly work just as well, thanks for the tip!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vasili</title>
		<link>http://dev-tips.com/featured/php-tip-use-arrays-to-help-with-errors#comment-540</link>
		<dc:creator>Vasili</dc:creator>
		<pubDate>Tue, 14 Apr 2009 22:01:32 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=283#comment-540</guid>
		<description>Ooops, that should read:

implode(&#039;&lt;br /&gt;&#039;, $errors);</description>
		<content:encoded><![CDATA[<p>Ooops, that should read:</p>
<p>implode(&#8216;&lt;br /&gt;&#8217;, $errors);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vasili</title>
		<link>http://dev-tips.com/featured/php-tip-use-arrays-to-help-with-errors#comment-539</link>
		<dc:creator>Vasili</dc:creator>
		<pubDate>Tue, 14 Apr 2009 22:00:10 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=283#comment-539</guid>
		<description>Instead of the foreach statement, I would have used implode(&#039;&#039;, $errors); I think explode/implode are my most used functions next to empty/isset.</description>
		<content:encoded><![CDATA[<p>Instead of the foreach statement, I would have used implode(&#8221;, $errors); I think explode/implode are my most used functions next to empty/isset.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew Douglass</title>
		<link>http://dev-tips.com/featured/php-tip-use-arrays-to-help-with-errors#comment-531</link>
		<dc:creator>Drew Douglass</dc:creator>
		<pubDate>Mon, 06 Apr 2009 21:03:45 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=283#comment-531</guid>
		<description>You&#039;re absolutely right Jason, thanks very much for your tip. I was hoping people would mention the methods they use as it wasn&#039;t practical to mention every way in this article :) Thanks again!</description>
		<content:encoded><![CDATA[<p>You&#8217;re absolutely right Jason, thanks very much for your tip. I was hoping people would mention the methods they use as it wasn&#8217;t practical to mention every way in this article <img src='http://dev-tips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew Douglass</title>
		<link>http://dev-tips.com/featured/php-tip-use-arrays-to-help-with-errors#comment-530</link>
		<dc:creator>Drew Douglass</dc:creator>
		<pubDate>Mon, 06 Apr 2009 21:02:52 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=283#comment-530</guid>
		<description>Your welcome, glad to see someone diving into the world of php :)</description>
		<content:encoded><![CDATA[<p>Your welcome, glad to see someone diving into the world of php <img src='http://dev-tips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew Douglass</title>
		<link>http://dev-tips.com/featured/php-tip-use-arrays-to-help-with-errors#comment-529</link>
		<dc:creator>Drew Douglass</dc:creator>
		<pubDate>Mon, 06 Apr 2009 21:02:31 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=283#comment-529</guid>
		<description>Hey Gaya :)

That works too, thanks for sharing your techniques.</description>
		<content:encoded><![CDATA[<p>Hey Gaya <img src='http://dev-tips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>That works too, thanks for sharing your techniques.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Lengstorf</title>
		<link>http://dev-tips.com/featured/php-tip-use-arrays-to-help-with-errors#comment-528</link>
		<dc:creator>Jason Lengstorf</dc:creator>
		<pubDate>Mon, 06 Apr 2009 20:16:55 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=283#comment-528</guid>
		<description>Why not use &lt;a href=&quot;http://us.php.net/manual/en/class.exception.php&quot; rel=&quot;nofollow&quot;&gt;Exceptions&lt;/a&gt;?

&lt;code&gt;if(!isset($string)) {
  throw new Exception(&#039;String has not been set!&#039;);
}&lt;/code&gt;

They&#039;re really not hard to use, and they offer a little better debugging control, with access to line numbers, file names, stack trace, etc...

There&#039;s nothing wrong with the above example, I just wanted to pose an alternative solution.</description>
		<content:encoded><![CDATA[<p>Why not use <a href="http://us.php.net/manual/en/class.exception.php" rel="nofollow">Exceptions</a>?</p>
<p><code>if(!isset($string)) {<br />
  throw new Exception('String has not been set!');<br />
}</code></p>
<p>They&#8217;re really not hard to use, and they offer a little better debugging control, with access to line numbers, file names, stack trace, etc&#8230;</p>
<p>There&#8217;s nothing wrong with the above example, I just wanted to pose an alternative solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Meshach</title>
		<link>http://dev-tips.com/featured/php-tip-use-arrays-to-help-with-errors#comment-527</link>
		<dc:creator>Meshach</dc:creator>
		<pubDate>Mon, 06 Apr 2009 18:12:47 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=283#comment-527</guid>
		<description>Very, very good tip, thanks a lot!

This will help since I am learning PHP.</description>
		<content:encoded><![CDATA[<p>Very, very good tip, thanks a lot!</p>
<p>This will help since I am learning PHP.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
