<?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>Meeting of Minds &#187; PHP</title>
	<atom:link href="http://blog.rajasekharan.com/category/programming/php-programming-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rajasekharan.com</link>
	<description>And this too shall pass...</description>
	<lastBuildDate>Tue, 20 Apr 2010 20:09:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>newline characters in PHP error log or debug output</title>
		<link>http://blog.rajasekharan.com/2008/11/11/newline-characters-in-php-error-log-or-debug-output/</link>
		<comments>http://blog.rajasekharan.com/2008/11/11/newline-characters-in-php-error-log-or-debug-output/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 23:22:42 +0000</pubDate>
		<dc:creator>senthil</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[PHP Programming]]></category>
		<category><![CDATA[PHP_EOL]]></category>

		<guid isPermaLink="false">http://blog.rajasekharan.com/?p=100</guid>
		<description><![CDATA[There is a PHP Predefined constant PHP_EOL that allows you to print a newline character if you are running php CLI or if you are outputting text to an error log file.
Apparently, it is also cross platform compatible.
For a long time I was using print statements to throw debug output and had a hard time [...]]]></description>
			<content:encoded><![CDATA[<p>There is a PHP Predefined constant <a title="PHP Predefined constants" href="http://us3.php.net/manual/en/reserved.constants.php" target="_blank">PHP_EOL</a> that allows you to print a newline character if you are running php CLI or if you are outputting text to an error log file.</p>
<p>Apparently, it is also cross platform <a title="PHP EOL -- When to use..." href="http://stackoverflow.com/questions/128560/when-do-i-use-the-php-constant-phpeol" target="_blank">compatible</a>.</p>
<p>For a long time I was using print statements to throw debug output and had a hard time reading the blob of text output that was getting spit out.</p>
<p>Now my log output and debug output are much more readable <img src='http://blog.rajasekharan.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajasekharan.com/2008/11/11/newline-characters-in-php-error-log-or-debug-output/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.219 seconds -->
