<?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>PHP Tutorials Code Snippets and Php Tips &#187; built-in constant</title>
	<atom:link href="http://readytousesolutions.com/phpblog/tag/built-in-constant/feed/" rel="self" type="application/rss+xml" />
	<link>http://readytousesolutions.com/phpblog</link>
	<description>PHP tutorials - Examples of the most useful scripts</description>
	<lastBuildDate>Thu, 23 Sep 2010 06:54:31 +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>PHP Tutorial : Get line number</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-get-line-number/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-get-line-number/#comments</comments>
		<pubDate>Sun, 31 May 2009 06:17:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Usefull PHP]]></category>
		<category><![CDATA[built-in constant]]></category>
		<category><![CDATA[php constants]]></category>
		<category><![CDATA[php get line number]]></category>
		<category><![CDATA[php line number]]></category>
		<category><![CDATA[_LINE_]]></category>
		<category><![CDATA[_LINE_ already defined constant]]></category>

		<guid isPermaLink="false">http://www.crivionweb.com/phpblog/?p=236</guid>
		<description><![CDATA[As you might know, PHP Server comes with built-in / already defined constants. Today I&#8217;ve been discovering a nice one which gets the line number in a file for you. This may be very usefull in a lot of cases, &#8230; <a href="http://readytousesolutions.com/phpblog/php-tutorial-get-line-number/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As you might know, PHP Server comes with built-in / already defined constants. Today I&#8217;ve been discovering a nice one which gets the line number in a file for you. This may be very usefull in a lot of cases, like a custom error system, debugging and not only. That CONSTANT is called simply _LINE_</p>
<pre class="php">
<span class="phpScriptTag"><span class="phpOperator">&lt;</span><span class="phpOperator">?</span>php</span>
<span class="htmlText">
print </span><span class="phpConstant">__LINE__</span><span class="phpText">;</span>
<span class="phpScriptTag"><span class="phpOperator">?</span><span class="phpOperator">&gt;</span></span>
</pre>
<p>This will print 3, because it&#8217;s line two!</p>
]]></content:encoded>
			<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-get-line-number/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

