<?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>eli geske &#187; PHP</title>
	<atom:link href="http://eligeske.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://eligeske.com</link>
	<description>Good information for the geeky kind.</description>
	<lastBuildDate>Wed, 25 Jan 2012 00:20:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Show PHP errors in the page</title>
		<link>http://eligeske.com/php/show-php-errors-in-the-page/</link>
		<comments>http://eligeske.com/php/show-php-errors-in-the-page/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 17:09:35 +0000</pubDate>
		<dc:creator>eligeske</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[in page errors]]></category>
		<category><![CDATA[ini_set]]></category>
		<category><![CDATA[php errors]]></category>

		<guid isPermaLink="false">http://eligeske.com/?p=400</guid>
		<description><![CDATA[The php function to show and hide errors can really help for fast debugging situations without having to use INI_SET or accessing our PHP.ini file.]]></description>
			<content:encoded><![CDATA[<p>Showing php errors on your dev machine is useful while programming. But when you move a piece of code to staging or even dev and you have an issue you may need a quick solve, either log files or a quick Show Errors on Page while on off peak hours. My case it is a staging environment so no worries on showing the errors.</p>
<p>You can set it in your php.ini but placing in your code with php functions allows you to easily set up various configs for different environments.</p>
<div class="wp-synhighlighter-inner"><pre class="php" style="font-family:arial;">error_reporting(0); // hides all errors
error_reporting(-1); // shows all errors</pre></div>
<p>Pretty simple, and really assists with fast debugging.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://eligeske.com/php/show-php-errors-in-the-page/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP Dynamic Constants</title>
		<link>http://eligeske.com/php/php-dynamic-constants/</link>
		<comments>http://eligeske.com/php/php-dynamic-constants/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 19:00:03 +0000</pubDate>
		<dc:creator>eligeske</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[constants]]></category>
		<category><![CDATA[dynamic]]></category>
		<category><![CDATA[edit constants]]></category>

		<guid isPermaLink="false">http://eligeske.com/?p=174</guid>
		<description><![CDATA[I got this off the php.net website, haven't tried it yet. Uh ya, a Dynamic Constant, Jumbo Shrimp?<br/><br/>]]></description>
			<content:encoded><![CDATA[<p>This is a way to print out a constant when you need to select the name dynamically.</p>
<p>Haven&#8217;t tried it yet, but I am adding because I am sure I will need it in the near future.</p>
<div class="wp-synhighlighter-inner"><pre class="php" style="font-family:arial;">$changing_variable = 'foo_bar';
echo constant('FOO_' . strtoupper($changing_variable));</pre></div>
]]></content:encoded>
			<wfw:commentRss>http://eligeske.com/php/php-dynamic-constants/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

