<?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 Comparison operators Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/php-comparison-operators/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/php-comparison-operators/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Mon, 26 Jul 2021 12:41:54 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Tutorial for Comparison operators</title>
		<link>https://www.scmgalaxy.com/tutorials/tutorial-for-comparison-operators/</link>
					<comments>https://www.scmgalaxy.com/tutorials/tutorial-for-comparison-operators/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Mon, 26 Jul 2021 12:41:51 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Comparison operators]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Php Comparison operators]]></category>
		<category><![CDATA[PHP Operators]]></category>
		<category><![CDATA[Tutorial for Comparison operators]]></category>
		<category><![CDATA[Tutorials for PHP Operators]]></category>
		<category><![CDATA[What]]></category>
		<category><![CDATA[What is Comparison operators]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7056</guid>

					<description><![CDATA[<p>What is Comparison operators? The comparison operator denotes the connection between two or more values in a number or a [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-comparison-operators/">Tutorial for Comparison operators</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">What is Comparison operators?</h3>



<p class="wp-block-paragraph">The comparison operator denotes the connection between two or more values in a number or a series. These php operators are simply used to compare the two values&#8217; integers or strings. We&#8217;ll show you how to compare them using php operators in this article. This PHP operator is necessary for looking for discrepancies or correlations between values and variables. It behaves like a boolean, yielding either True or False. For example, if the two variables you&#8217;re comparing don&#8217;t have the same value, the PHP not equal to operator will return true.</p>



<ul class="wp-block-list" id="block-9c5039b9-a99d-4bd4-9610-408493ffe4a0"><li>Operator Name Example Result</li><li><code>==&nbsp;</code>Equal<code>&nbsp;$x == $y</code>&nbsp;Returns true if $x is equal to&nbsp;<code>$y</code></li><li><code>===&nbsp;</code>Identical&nbsp;<code>$x === $y</code>&nbsp;Returns true if $x is equal to $y, and they are of the same type</li><li><code>!=&nbsp;</code>Not equal&nbsp;<code>$x != $y</code>&nbsp;Returns true if&nbsp;<code>$x</code>&nbsp;is not equal to&nbsp;<code>$y</code></li><li><code>&lt;&gt;&nbsp;</code>Not equal&nbsp;<code>$x &lt;&gt; $y</code>&nbsp;Returns true if&nbsp;<code>$x</code>&nbsp;is not equal to&nbsp;<code>$y</code></li><li><code>!==&nbsp;</code>Not identical&nbsp;<code>$x !==</code>&nbsp;<code>$y</code>&nbsp;Returns true if&nbsp;<code>$x</code>&nbsp;is not equal to&nbsp;<code>$y</code>, or they are not of the same type</li><li><code>&gt;</code>&nbsp;Greater than&nbsp;<code>$x &gt; $y</code>&nbsp;Returns true if&nbsp;<code>$x</code>&nbsp;is greater than&nbsp;<code>$y</code></li><li><code>&lt;</code>&nbsp;Less than $x&nbsp;<code>&lt; $y&nbsp;</code>Returns true if&nbsp;<code>$x</code>&nbsp;is less than&nbsp;<code>$y</code></li><li><code>&gt;=&nbsp;</code>Greater than or equal to&nbsp;<code>$x &gt;= $y</code>&nbsp;Returns true if&nbsp;<code>$x</code>&nbsp;is greater than or equal to&nbsp;<code>$y</code></li><li><code>&lt;=</code>&nbsp;Less than or equal to&nbsp;<code>$x &lt;= $y</code>&nbsp;Returns true if&nbsp;<code>$x</code>&nbsp;is less than or equal to&nbsp;<code>$y</code></li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://www.devopsschool.com/blog/wp-content/uploads/2021/05/image-18.png" alt=""/></figure></div>



<p class="wp-block-paragraph"><strong>Example:-</strong></p>



<script src="https://gist.github.com/AdarshAshwani/5c840229fe5ad985f4733d4e84f7a629.js"></script>



<p class="wp-block-paragraph"><strong>Outputs:-</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://www.devopsschool.com/blog/wp-content/uploads/2021/05/image-19.png" alt=""/></figure>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-comparison-operators/">Tutorial for Comparison operators</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/tutorial-for-comparison-operators/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
