<?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>Tutorials for PHP Operators Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/tutorials-for-php-operators/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/tutorials-for-php-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>
		<item>
		<title>Tutorial for String operators</title>
		<link>https://www.scmgalaxy.com/tutorials/tutorial-for-string-operators/</link>
					<comments>https://www.scmgalaxy.com/tutorials/tutorial-for-string-operators/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Mon, 26 Jul 2021 12:54:07 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[PHP Operators]]></category>
		<category><![CDATA[php String operators]]></category>
		<category><![CDATA[String operators]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Tutorials for PHP Operators]]></category>
		<category><![CDATA[What]]></category>
		<category><![CDATA[What is String operators]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7061</guid>

					<description><![CDATA[<p>What is String operators? There are two string operators available. The usage of numerical numbers might lead to unexpected outcomes: [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-string-operators/">Tutorial for String 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 String operators?</h3>



<p class="wp-block-paragraph">There are two string operators available. The usage of numerical numbers might lead to unexpected outcomes:</p>



<ol class="wp-block-list"><li>The PHP operator (.) is also known as the concatenation operator. It joins separate threads together.</li><li>The PHP operator (.=) is also known as the combined assignment operator. It connects the argument to the one on the right page, on the left.</li></ol>



<ul class="wp-block-list"><li>Operator Name Example Result</li><li><code>. </code>Concatenation <code>$txt1 . $txt2 </code>Concatenation of <code>$txt1</code> and <code>$txt2</code></li><li><code>.= </code>Concatenation assignment <code>$txt1 .= $txt2</code> Appends <code>$txt2 </code>to <code>$txt1</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-24.png" alt=""/></figure></div>



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



<script src="https://gist.github.com/AdarshAshwani/946bd8e80014bd11b887fe80fd818aa5.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-25.png" alt=""/></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-string-operators/">Tutorial for String 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-string-operators/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Tutorial for Logical operators</title>
		<link>https://www.scmgalaxy.com/tutorials/tutorial-for-logical-operators/</link>
					<comments>https://www.scmgalaxy.com/tutorials/tutorial-for-logical-operators/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Mon, 26 Jul 2021 12:51:15 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[php Logical operators]]></category>
		<category><![CDATA[PHP Operators]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Tutorials for PHP Operators]]></category>
		<category><![CDATA[What]]></category>
		<category><![CDATA[What is Logical operators]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7058</guid>

					<description><![CDATA[<p>What is Logical operators? They combine conditionals and are mostly used to track several conditions at the same time. For [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-logical-operators/">Tutorial for Logical 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 Logical operators?</h3>



<p class="wp-block-paragraph">They combine conditionals and are mostly used to track several conditions at the same time. For example, the PHP (or) operator verifies that at least one out of every two is correct. If you want to check if they&#8217;re both legitimate, you may use the PHP (and) operator. For further information, see the table below:</p>



<ul class="wp-block-list" id="block-088a7e7a-f78f-4fb1-a189-981c3f1c666b"><li>Operator Name Example Result</li><li>and And&nbsp;<code>$x</code>&nbsp;and&nbsp;<code>$y&nbsp;</code>True if both&nbsp;<code>$x</code>&nbsp;and&nbsp;<code>$y</code>&nbsp;are true</li><li><code>or Or $x</code>&nbsp;or&nbsp;<code>$y</code>&nbsp;True if either&nbsp;<code>$x</code>&nbsp;or&nbsp;<code>$y</code>&nbsp;is true</li><li><code>xor Xor</code>&nbsp;<code>$x xor $y&nbsp;</code>True if either&nbsp;<code>$x</code>&nbsp;or&nbsp;<code>$y&nbsp;</code>is true, but not both</li><li>&amp;&amp; And&nbsp;<code>$x &amp;&amp; $y</code>&nbsp;True if both&nbsp;<code>$x</code>&nbsp;and&nbsp;<code>$y</code>&nbsp;are true</li><li><code>|| Or</code>&nbsp;<code>$x || $y&nbsp;</code>True if either&nbsp;<code>$x</code>&nbsp;or&nbsp;<code>$y</code>&nbsp;is true</li><li>!<code>&nbsp;Not !$x&nbsp;</code>True if&nbsp;<code>$x&nbsp;</code>is not true</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-22.png" alt=""/></figure></div>



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



<script src="https://gist.github.com/AdarshAshwani/0c068aacf07667542c9dd347b888cf6c.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-23.png" alt=""/></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-logical-operators/">Tutorial for Logical 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-logical-operators/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Tutorial for Increment/Decrement operators</title>
		<link>https://www.scmgalaxy.com/tutorials/tutorial-for-increment-decrement-operators/</link>
					<comments>https://www.scmgalaxy.com/tutorials/tutorial-for-increment-decrement-operators/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Mon, 26 Jul 2021 12:47:35 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Increment/Decrement operators]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[PHP Operators]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Tutorial for Increment/Decrement operators]]></category>
		<category><![CDATA[Tutorials for PHP Operators]]></category>
		<category><![CDATA[What is Increment/Decrement operators]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7057</guid>

					<description><![CDATA[<p>What is Increment/Decrement operators? These operations raise (increase) or reduce (decrease) the value of a vector (decrease). Because just one [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-increment-decrement-operators/">Tutorial for Increment/Decrement 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 Increment/Decrement operators?</h3>



<p class="wp-block-paragraph">These operations raise (increase) or reduce (decrease) the value of a vector (decrease). Because just one operator is employed, they are frequently referred to as uniform operators. To raise or reduce a value by a factor of one, operators for increasing and decreasing are used. Pre-incrementing operator The new $x value is returned when the value is added to it. See the table below for a better understanding:</p>



<ul class="wp-block-list" id="block-b4ac14d2-c7b6-4efc-b112-61f678ad3bd1"><li>Operator Name Description</li><li><code>++$x</code> Pre-increment Increments <code>$x</code> by one, then returns <code>$x</code></li><li><code>$x++ </code>Post-increment Returns <code>$x,</code> then increments <code>$x</code> by one</li><li><code>--$x </code>Pre-decrement Decrements <code>$x</code> by one, then returns <code>$x</code></li><li><code>$x--</code> Post-decrement Returns <code>$x</code>, then decrements <code>$x</code> by one</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-20.png" alt=""/></figure></div>



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



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



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



<figure class="wp-block-image is-resized"><img decoding="async" src="https://www.devopsschool.com/blog/wp-content/uploads/2021/05/image-21.png" alt="" width="230" height="187"/></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-increment-decrement-operators/">Tutorial for Increment/Decrement 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-increment-decrement-operators/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<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>
		<item>
		<title>Tutorial for Assignment operators</title>
		<link>https://www.scmgalaxy.com/tutorials/tutorial-for-assignment-operators/</link>
					<comments>https://www.scmgalaxy.com/tutorials/tutorial-for-assignment-operators/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Mon, 26 Jul 2021 12:38:16 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Assignment operators]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[PHP Operators]]></category>
		<category><![CDATA[Tutorial for Assignment operators]]></category>
		<category><![CDATA[Tutorials for PHP Operators]]></category>
		<category><![CDATA[What]]></category>
		<category><![CDATA[What is Assignment operators]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7055</guid>

					<description><![CDATA[<p>What is Assignment operators? PHP Assignment operators are used to assign values to variables. The right side value is substituted [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-assignment-operators/">Tutorial for Assignment 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 Assignment operators?</h3>



<p class="wp-block-paragraph">PHP Assignment operators are used to assign values to variables. The right side value is substituted for the left side value in the operand variable. Operators in this category are in charge of assigning variables. The most frequent assignment operator is =, which assigns the operand&#8217;s right side to the left variable.</p>



<ul class="wp-block-list" id="block-3624ffa8-6672-4ce8-bf7e-2f0f27f6babb"><li>Assignment Same as… Description</li><li><code>x = y x = y</code>&nbsp;The left operand gets set to the value of the expression on the right</li><li><code>x += y x = x + y</code>&nbsp;Addition</li><li><code>x -= y x = x - y</code>&nbsp;Subtraction</li><li><code>x *= y x = x * y&nbsp;</code>Multiplication</li><li><code>x /= y x = x / y</code>&nbsp;Division</li><li><code>x %= y x = x % y</code>&nbsp;Modulus</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-16.png" alt=""/></figure></div>



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



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



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



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://www.devopsschool.com/blog/wp-content/uploads/2021/05/image-17.png" alt=""/></figure></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-assignment-operators/">Tutorial for Assignment 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-assignment-operators/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Tutorial for Arithmetic operators</title>
		<link>https://www.scmgalaxy.com/tutorials/tutorial-for-arithmetic-operators/</link>
					<comments>https://www.scmgalaxy.com/tutorials/tutorial-for-arithmetic-operators/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Mon, 26 Jul 2021 12:32:57 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Arithmetic operators]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[PHP Operators]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Tutorials for PHP Operators]]></category>
		<category><![CDATA[What]]></category>
		<category><![CDATA[What is Arithmetic operators]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7054</guid>

					<description><![CDATA[<p>What is Arithmetic operators? The arithmetic operator is used to do simple arithmetic operations such as adding, subtracting, multiplying, and [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-arithmetic-operators/">Tutorial for Arithmetic 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 Arithmetic operators?</h3>



<p class="wp-block-paragraph">The arithmetic operator is used to do simple arithmetic operations such as adding, subtracting, multiplying, and so on. Simple arithmetic behavior of numerical values may be implemented using these operators. The table below demonstrates how the findings are used and what outcomes are achieved.</p>



<ul class="wp-block-list"><li>Operator Name Example Result</li><li><code>+</code> Addition <code>$x + $y</code> Sum of <code>$x</code> and <code>$y</code></li><li><code>- </code>Subtraction <code>$x - $y</code> Difference of <code>$x</code> and<code> $y</code></li><li><code>*</code> Multiplication<code> $x * $y</code> Product of <code>$x </code>and <code>$y</code></li><li><code>/ </code>Division<code> $x / $y</code> Quotient of <code>$x</code> and <code>$y</code></li><li><code>% </code>Modulus <code>$x % $y</code> Remainder of <code>$x</code> divided by <code>$y</code></li><li><code>** </code>Exponentiation <code>$x ** $y</code> Result of raising $x to the <code>$y'th</code> power (Introduced in PHP 5.6)</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-14.png" alt=""/></figure></div>



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



<script src="https://gist.github.com/AdarshAshwani/320613d91f06b57cac7f772a98a3a432.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-15.png" alt=""/></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-arithmetic-operators/">Tutorial for Arithmetic 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-arithmetic-operators/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Tutorials for PHP Operators</title>
		<link>https://www.scmgalaxy.com/tutorials/tutorials-for-php-operators/</link>
					<comments>https://www.scmgalaxy.com/tutorials/tutorials-for-php-operators/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Mon, 26 Jul 2021 12:25:05 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Operators in PHP]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[PHP Operators]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Tutorials for PHP Operators]]></category>
		<category><![CDATA[What]]></category>
		<category><![CDATA[What is Operators in PHP]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7032</guid>

					<description><![CDATA[<p>What is Operators in PHP? Operators are symbols that tell the PHP processor what actions should be taken. The Add [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorials-for-php-operators/">Tutorials for PHP Operators</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">What is Operators in PHP?</h2>



<p class="wp-block-paragraph">Operators are symbols that tell the PHP processor what actions should be taken. The Add (+) sign, for example, instructs PHP to combine two variables or values, but the bigger (>) symbol instructs PHP to compare two values. Don&#8217;t make the mistake of assuming that operators and functions are the same. Instead of functional, such operators might be used (such as the PHP ternary).</p>



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



<ul class="wp-block-list"><li>Arithmetic operators</li><li>Assignment operators</li><li>Comparison operators</li><li>Increment/Decrement operators</li><li>Logical operators</li><li>String operators</li><li>Array operators</li><li>Spaceship operators</li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://ngs-it.com/files/course/Operator-.png" alt="PHP Operators"/></figure></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorials-for-php-operators/">Tutorials for PHP Operators</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/tutorials-for-php-operators/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
