<?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; stop</title>
	<atom:link href="http://readytousesolutions.com/phpblog/tag/stop/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 : Exit and Die Functions</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-exit-and-die-functions/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-exit-and-die-functions/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 20:54:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Short PHP Functions]]></category>
		<category><![CDATA[die]]></category>
		<category><![CDATA[exit]]></category>
		<category><![CDATA[php die]]></category>
		<category><![CDATA[php exit]]></category>
		<category><![CDATA[stop]]></category>
		<category><![CDATA[stop script]]></category>

		<guid isPermaLink="false">http://www.crivionweb.com/phpblog/?p=152</guid>
		<description><![CDATA[hi, I have two mins to write about those two very basic functions which will make your script to stop completely, the code will not be interpreted anymore before the line where says exit or die. have some tests (first &#8230; <a href="http://readytousesolutions.com/phpblog/php-tutorial-exit-and-die-functions/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>hi,<br />
I have two mins to write about those two very basic functions which will make your script to stop completely, the code will not be interpreted anymore before the line where says exit or die. have some tests (first one will exit without any notice and with the second one you can show a message to the browser before stoping the script)</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="phpString">"something"</span><span class="phpText">;</span>
<span class="phpFunction">exit</span><span class="phpOperator">(</span><span class="phpOperator">)</span><span class="phpText">;</span>
<span class="htmlText">
print </span><span class="phpString">"will not print"</span><span class="phpText">;</span>
<span class="phpComment">//or like this which will show a message too
</span><span class="htmlText">print </span><span class="phpString">"something<span class="phpKeyword"> else"</span></span><span class="phpText">;</span>
<span class="phpFunction">die</span><span class="phpOperator">(</span><span class="phpString">"message"</span><span class="phpOperator">)</span><span class="phpText">;</span>
<span class="phpScriptTag"><span class="phpOperator">?</span><span class="phpOperator">&gt;</span></span>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-exit-and-die-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

