<?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 Magic Book - Free PHP Scripts, Tutorials and Downloads &#187; equal to</title>
	<atom:link href="http://www.phpmagicbook.com/tag/equal-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpmagicbook.com</link>
	<description>PHP AtoZ Reloaded, free php tutorials, free php downloads, php scripts, PHP tips</description>
	<lastBuildDate>Tue, 15 Jun 2010 13:22:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>PHP Operators Explanation</title>
		<link>http://www.phpmagicbook.com/php-operators/</link>
		<comments>http://www.phpmagicbook.com/php-operators/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 14:12:15 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Operators]]></category>
		<category><![CDATA[and]]></category>
		<category><![CDATA[equal to]]></category>
		<category><![CDATA[identical to]]></category>
		<category><![CDATA[less than]]></category>
		<category><![CDATA[not]]></category>
		<category><![CDATA[or]]></category>
		<category><![CDATA[xor]]></category>

		<guid isPermaLink="false">http://www.phpmagicbook.com/?p=143</guid>
		<description><![CDATA[In all programming languages, operators are used to manipulate or perform operations on variables and values. There are many operators used in PHP. Assignment Operators Arithmetic Operators Comparison Operators String Operators Combination Arithmetic &#038; Assignment Operators Assignment Operators Assignment operators are used to set a variable equal to a value or set a variable to [...]<p><a href="http://www.phpmagicbook.com/php-operators/">PHP Operators Explanation</a> is a post from: <a href="http://www.phpmagicbook.com">PHP Magic Book - Free PHP Scripts, Tutorials and Downloads</a></p>
]]></description>
			<content:encoded><![CDATA[<p>In all programming languages, operators are used to manipulate or perform operations on variables and values. There are many operators used in PHP.</p>
<ul>
<li>Assignment Operators</li>
<li>Arithmetic Operators</li>
<li>Comparison Operators</li>
<li>String Operators</li>
<li>Combination Arithmetic &#038; Assignment Operators</li>
</ul>
<p><span id="more-214"></span></p>
<h4>Assignment Operators</h4>
<p>Assignment operators are used to set a variable equal to a value or set a variable to another variable&#8217;s value. Such an assignment of value is done with the &#8220;=&#8221;, or equal character. Example:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$myvar</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">4</span><span style="color: #339933;">;</span></pre></div></div>

<h4>Arithmetic Operators</h4>
<p>Addition (+)<br />
Subtraction (-)<br />
Multiplication (*)<br />
Division (/)<br />
Modulus (%)</p>
<h4>Comparison Operators</h4>
<p>Equal To (==)<br />
Not Equal To (!=)<br />
Less Than (<)<br />
Greater Than (>)<br />
Less Than or Equal To (<=)<br />
Greater Than or Equal To (>=)</p>
<h4>Operators</h4>
<p><strong>!</strong> a<br />
NOT<br />
True if a is not true.</p>
<p>a <strong>&#038;&#038;</strong> b<br />
AND<br />
True if both a and b are true.</p>
<p>a <strong>||</strong> b<br />
OR<br />
True if either a or b is true.</p>
<p>a <strong>and</strong> b<br />
AND<br />
True if both a and b are true.</p>
<p>a <strong>xor</strong> b<br />
XOR<br />
True if a or b is true, but not both.</p>
<p>a <strong>or</strong> b<br />
OR<br />
True if either a or b is true.</p>
<h4>Conditional Operators in PHP</h4>
<p><strong>==</strong><br />
Is equal to</p>
<p><strong>===</strong><br />
Is identical to (is equal and is the same data type)</p>
<p><strong>!=</strong><br />
Is not equal to</p>
<p><strong>!==</strong><br />
Is not identical to</p>
<p><strong><</strong><br />
Is less than</p>
<p><strong><=</strong><br />
Is less than or equal to</p>
<p><strong>></strong><br />
Is greater than</p>
<p><strong>>=</strong><br />
Is greater than or equal to</p>
<p><a href="http://www.phpmagicbook.com/php-operators/">PHP Operators Explanation</a> is a post from: <a href="http://www.phpmagicbook.com">PHP Magic Book - Free PHP Scripts, Tutorials and Downloads</a></p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://www.phpmagicbook.com/php-logical-operators/" title="PHP Logical Operators">PHP Logical Operators</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.phpmagicbook.com/php-operators/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
