<?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>Marius van Witzenburg &#187; Strict</title>
	<atom:link href="http://kitara.nl/tag/strict/feed/" rel="self" type="application/rss+xml" />
	<link>http://kitara.nl</link>
	<description>We fight for our survival, we fight!</description>
	<lastBuildDate>Sun, 20 May 2012 15:39:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>E_STRICT crashes php if date.timezone is not set in php.ini</title>
		<link>http://kitara.nl/2011/06/09/e_strict-crashes-php-if-date-timezone-is-not-set-in-php-ini/</link>
		<comments>http://kitara.nl/2011/06/09/e_strict-crashes-php-if-date-timezone-is-not-set-in-php-ini/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 19:43:43 +0000</pubDate>
		<dc:creator>mariusvw</dc:creator>
				<category><![CDATA[BSD / Linux / Unix]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[Date]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Strict]]></category>
		<category><![CDATA[TimeZone]]></category>

		<guid isPermaLink="false">http://kitara.nl/?p=43</guid>
		<description><![CDATA[In case you use the following in your php.ini: error_reporting = E_ALL &#124; E_STRICT You might notice that if you do a phpinfo() that php crashes the apache child. Reason is a bug in php that causes an infinite loop. You can solve this by setting "date.timezone =" to your timezone. You can also set [...]]]></description>
			<content:encoded><![CDATA[<p>In case you use the following in your <em>php.ini</em>:</p>
<pre>
error_reporting = E_ALL | E_STRICT
</pre>
<p>You might notice that if you do a <em>phpinfo()</em> that php crashes the apache child.</p>
<p>Reason is a bug in php that causes an infinite loop.</p>
<p>You can solve this by setting "<em>date.timezone =</em>" to your timezone.</p>
<p>You can also set this in your script with ini_set() but I would go for the php.ini since thats a more permanent solution.</p>
<p>For a list of timezones check:<br />
<a href="http://nl.php.net/datetime">http://www.php.net/datetime</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kitara.nl/2011/06/09/e_strict-crashes-php-if-date-timezone-is-not-set-in-php-ini/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to enable error reporting in PHP</title>
		<link>http://kitara.nl/2011/06/09/how-to-enable-error-reporting-in-php/</link>
		<comments>http://kitara.nl/2011/06/09/how-to-enable-error-reporting-in-php/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 18:02:36 +0000</pubDate>
		<dc:creator>mariusvw</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[Debug]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Logging]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Reporting]]></category>
		<category><![CDATA[Strict]]></category>

		<guid isPermaLink="false">http://kitara.nl/?p=32</guid>
		<description><![CDATA[When you are developing something new in PHP you might want to enable error reporting so you can see what is going wrong and that you are working by the strict guidelines of PHP. With this you can enable displaying errors in your browser and you can also save it to an error log if [...]]]></description>
			<content:encoded><![CDATA[<p>When you are developing something new in PHP you might want to enable error reporting so you can see what is going wrong and that you are working by the strict guidelines of PHP.</p>
<p>With this you can enable displaying errors in your browser and you can also save it to an error log if you want.</p>
<p>Note for PHP5.3 and above, E_ALL includes E_STRICT so you can leave out the "| E_STRICT" part.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">ini_set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'display_errors'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">ini_set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'display_startup_errors'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">ini_set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'error_reporting'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">E_ALL</span> <span style="color: #339933;">|</span> <span style="color: #009900; font-weight: bold;">E_STRICT</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;"># Optional
</span><span style="color: #990000;">ini_set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'error_log'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/data/www/marius/php_error.log'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>You can also use these in your php.ini if you want.</p>
]]></content:encoded>
			<wfw:commentRss>http://kitara.nl/2011/06/09/how-to-enable-error-reporting-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

