<?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>What is Logical operators Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/what-is-logical-operators/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/what-is-logical-operators/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Mon, 26 Jul 2021 12:51:19 +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 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>
	</channel>
</rss>
