<?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>Tutorial for Spaceship operators Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/tutorial-for-spaceship-operators/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/tutorial-for-spaceship-operators/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Mon, 26 Jul 2021 13:04:43 +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 Spaceship operators</title>
		<link>https://www.scmgalaxy.com/tutorials/tutorial-for-spaceship-operators/</link>
					<comments>https://www.scmgalaxy.com/tutorials/tutorial-for-spaceship-operators/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Mon, 26 Jul 2021 13:04:41 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[PHP Operators]]></category>
		<category><![CDATA[php Spaceship operators]]></category>
		<category><![CDATA[Spaceship operators]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Tutorial for Spaceship operators]]></category>
		<category><![CDATA[Tutorials for PHP Operators]]></category>
		<category><![CDATA[What]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7062</guid>

					<description><![CDATA[<p>What is Spaceship operators? PHP 7 introduces a new spacecraft operator (=&#62;) for comparing two words. It&#8217;s also known as [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-spaceship-operators/">Tutorial for Spaceship 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 Spaceship operators?</h3>



<p class="wp-block-paragraph">PHP 7 introduces a new spacecraft operator (=&gt;) for comparing two words. It&#8217;s also known as the combined contrast operator.</p>



<p class="wp-block-paragraph">The spacecraft operator yields 0 if the two operands are equal, 1 if the left is bigger, and -1 if the right is larger. In the following table, the three-way comparison is essentially shown:</p>



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



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



<script src="https://gist.github.com/AdarshAshwani/176fa06e0f5d4c377a6b1a3e54d75441.js"></script>



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



<figure class="wp-block-image"><img decoding="async" src="https://www.devopsschool.com/blog/wp-content/uploads/2021/05/image-29.png" alt=""/></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-spaceship-operators/">Tutorial for Spaceship 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-spaceship-operators/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
