<?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:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: PHP error_reporting() Cheat&#160;Sheet</title> <atom:link href="http://davidwalsh.name/php-error_reporting-error-reporting/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/php-error_reporting-error-reporting</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Wed, 23 May 2012 19:56:08 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Art</title><link>http://davidwalsh.name/php-error_reporting-error-reporting#comment-27467</link> <dc:creator>Art</dc:creator> <pubDate>Sun, 06 Nov 2011 07:05:40 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/php-error_reporting-error-reporting#comment-27467</guid> <description>This is the best tool for figuring out PHP error reporting:http://www.bx.com.au/tools/ultimate-php-error-reporting-wizard</description> <content:encoded><![CDATA[<p>This is the best tool for figuring out PHP error reporting:</p><p><a
href="http://www.bx.com.au/tools/ultimate-php-error-reporting-wizard" rel="nofollow">http://www.bx.com.au/tools/ultimate-php-error-reporting-wizard</a></p> ]]></content:encoded> </item> <item><title>By: Krrish</title><link>http://davidwalsh.name/php-error_reporting-error-reporting#comment-26886</link> <dc:creator>Krrish</dc:creator> <pubDate>Wed, 14 Sep 2011 14:09:55 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/php-error_reporting-error-reporting#comment-26886</guid> <description>&lt;a href=&quot;http://itech.hubpages.com/hub/php-error_reporting&quot; rel=&quot;nofollow&quot;&gt;Error Levels&lt;/a&gt; has been Updated Now in new version of PHP.</description> <content:encoded><![CDATA[<p><a
href="http://itech.hubpages.com/hub/php-error_reporting" rel="nofollow">Error Levels</a> has been Updated Now in new version of PHP.</p> ]]></content:encoded> </item> <item><title>By: Yash</title><link>http://davidwalsh.name/php-error_reporting-error-reporting#comment-22756</link> <dc:creator>Yash</dc:creator> <pubDate>Thu, 17 Feb 2011 09:48:18 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/php-error_reporting-error-reporting#comment-22756</guid> <description>Thanks Man Great tip :)</description> <content:encoded><![CDATA[<p>Thanks Man Great tip :)</p> ]]></content:encoded> </item> <item><title>By: BigNose</title><link>http://davidwalsh.name/php-error_reporting-error-reporting#comment-527</link> <dc:creator>BigNose</dc:creator> <pubDate>Tue, 01 Apr 2008 09:26:54 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/php-error_reporting-error-reporting#comment-527</guid> <description>But in the latter case (no errors if not the dev) you really should be looking at setting display_errors to off rather than altering the errors that are reported. Shouldn&#039;t you?</description> <content:encoded><![CDATA[<p>But in the latter case (no errors if not the dev) you really should be looking at setting display_errors to off rather than altering the errors that are reported. Shouldn&#8217;t you?</p> ]]></content:encoded> </item> <item><title>By: Jesus DeLaTorre</title><link>http://davidwalsh.name/php-error_reporting-error-reporting#comment-526</link> <dc:creator>Jesus DeLaTorre</dc:creator> <pubDate>Thu, 20 Mar 2008 06:47:31 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/php-error_reporting-error-reporting#comment-526</guid> <description>You may also want to the opposite, not to show any errors if they are not the dev.</description> <content:encoded><![CDATA[<p>You may also want to the opposite, not to show any errors if they are not the dev.</p> ]]></content:encoded> </item> <item><title>By: david</title><link>http://davidwalsh.name/php-error_reporting-error-reporting#comment-524</link> <dc:creator>david</dc:creator> <pubDate>Wed, 19 Mar 2008 21:47:38 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/php-error_reporting-error-reporting#comment-524</guid> <description>Good tip Ken...man!</description> <content:encoded><![CDATA[<p>Good tip Ken&#8230;man!</p> ]]></content:encoded> </item> <item><title>By: kenman</title><link>http://davidwalsh.name/php-error_reporting-error-reporting#comment-523</link> <dc:creator>kenman</dc:creator> <pubDate>Wed, 19 Mar 2008 21:42:09 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/php-error_reporting-error-reporting#comment-523</guid> <description>errr... lets try again with the code:$devIPs = array(
gethostbyname(&#039;office.mycompany.com&#039;),
gethostbyname(&#039;me_at_home.dyndns.org&#039;)
);
define( &#039;MY_DEBUG&#039;, in_array($_SERVER[&#039;REMOTE_ADDR&#039;], $devIPs) );
error_reporting(E_ALL * MY_DEBUG);</description> <content:encoded><![CDATA[<p>errr&#8230; lets try again with the code:</p><p>$devIPs = array(<br
/> gethostbyname(&#8216;office.mycompany.com&#8217;),<br
/> gethostbyname(&#8216;me_at_home.dyndns.org&#8217;)<br
/> );<br
/> define( &#8216;MY_DEBUG&#8217;, in_array($_SERVER['REMOTE_ADDR'], $devIPs) );<br
/> error_reporting(E_ALL * MY_DEBUG);</p> ]]></content:encoded> </item> <item><title>By: kenman</title><link>http://davidwalsh.name/php-error_reporting-error-reporting#comment-522</link> <dc:creator>kenman</dc:creator> <pubDate>Wed, 19 Mar 2008 21:41:01 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/php-error_reporting-error-reporting#comment-522</guid> <description>Just throwing this out there.....I&#039;ve found this to be a very handy snippet which I&#039;ve used for single pages and for complete applications both:In short, if the remote visitor is someone who should see errors, they will get them all, otherwise all errors are hidden. Sometimes I&#039;ll add an extra $_GET variable check so that I can explicitly turn errors off or on, using something like $_GET[&#039;debugme&#039;]. I realize that this isn&#039;t the best solution for large applications, but its simplicity makes it hard to beat many times.</description> <content:encoded><![CDATA[<p>Just throwing this out there&#8230;..I&#8217;ve found this to be a very handy snippet which I&#8217;ve used for single pages and for complete applications both:</p><p>In short, if the remote visitor is someone who should see errors, they will get them all, otherwise all errors are hidden. Sometimes I&#8217;ll add an extra $_GET variable check so that I can explicitly turn errors off or on, using something like $_GET['debugme']. I realize that this isn&#8217;t the best solution for large applications, but its simplicity makes it hard to beat many times.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 2/7 queries in 0.006 seconds using disk: basic
Object Caching 687/687 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-23 16:17:30 -->
