<?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 “The switch Statement Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/what-is-the-switch-statement/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/what-is-the-switch-statement/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Thu, 29 Jul 2021 12:46:58 +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>Tutorials for PHP “Switch Case” Condition</title>
		<link>https://www.scmgalaxy.com/tutorials/tutorials-for-php-switch-case-condition/</link>
					<comments>https://www.scmgalaxy.com/tutorials/tutorials-for-php-switch-case-condition/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Thu, 29 Jul 2021 12:46:56 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[PHP “Switch Case” Condition]]></category>
		<category><![CDATA[Php Condition]]></category>
		<category><![CDATA[php condition statement]]></category>
		<category><![CDATA[Php conditional statements]]></category>
		<category><![CDATA[PHP Conditioning]]></category>
		<category><![CDATA[Switch Case]]></category>
		<category><![CDATA[Switch Case” Condition]]></category>
		<category><![CDATA[What]]></category>
		<category><![CDATA[What is “The switch Statement]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7166</guid>

					<description><![CDATA[<p>What is “The switch Statement”? The assertion (Switch) looks like a series of declarations that all say the same thing. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorials-for-php-switch-case-condition/">Tutorials for PHP “Switch Case” Condition</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 “The switch Statement”?</h3>



<p class="wp-block-paragraph">The assertion (<code><span class="has-inline-color has-vivid-red-color"><strong>Switch</strong></span></code>) looks like a series of declarations that all say the same thing. To select one of the numerous executable code blocks, use the term (<code><span class="has-inline-color has-vivid-red-color"><strong>Switch</strong></span></code>).</p>



<pre class="wp-block-code"><code><span class="has-inline-color has-vivid-red-color">switch (n) {
  case label1:
    code to be executed if n=label1;
    break;
  case label2:
    code to be executed if n=label2;
    break;
  case label3:
    code to be executed if n=label3;
    break;
    ...
  default:
    code to be executed if n is different from all labels;
}</span></code></pre>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://static.javatpoint.com/phppages/images/php-switch.png" alt="PHP Switch - javatpoint"/></figure></div>



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



<script src="https://gist.github.com/AdarshAshwani/a8a88145ce67aa558dc13eda99e85623.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-37.png" alt=""/></figure></div>



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



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



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



<div class="wp-block-image"><figure class="aligncenter is-resized"><img fetchpriority="high" decoding="async" src="https://www.devopsschool.com/blog/wp-content/uploads/2021/05/image-38.png" alt="" width="684" height="78"/></figure></div>



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



<script src="https://gist.github.com/AdarshAshwani/dfdc50a1edd6d023bde0711d0e6a1f12.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-40.png" alt=""/></figure></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorials-for-php-switch-case-condition/">Tutorials for PHP “Switch Case” Condition</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-switch-case-condition/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
