Slide 1
Most trusted JOB oriented professional program
DevOps Certified Professional [DCP]
Take your first step into the world of DevOps with this course, which will help you to learn about the methodologies and tools used to develop, deploy, and operate high-quality software.
Slide 2
DevOps to DevSecOps – Learn the evolution
DevSecOps Certified Professional [DSOCP]
Learn to automate security into a fast-paced DevOps environment using various open-source tools and scripts.
Slide 2
Get certified in the new tech skill to rule the industry
Site Reliability Engineering [SRE] Certified Professional
A method of measuring and achieving reliability through engineering and operations work – developed by Google to manage services.
Slide 2
Master in DevOps Engineering [MDE]
Get enrolled for the most advanced and only course in the WORLD which can make you an expert and proficient Architect in DevOps, DevSecOps and Site Reliability Engineering [SRE] principles together.
Slide 2
Gain expertise and certified yourself
Azure DevOps Solutions Expert
Learn about the DevOps services available on Azure and how you can use them to make your workflow more efficient.
Slide 3
AWS Certified DevOps Professional
Learn about the DevOps services offered by AWS and how you can use them to make your workflow more efficient.
If statement is used to execute when a statement or a block of statement only if the condition is fulfilled or true.
Syntax
For One Statement:-
if[condition/expression]
statement;
For more than one Statement:-
if[condition/expression]
{
Blocks of statement;
}
OR
if[condition/statement]:
Blocks of statements;
endif;
Sample Program
Output
Nested if Statement
We can make nesting statement by nesting the if statement. It means when we insert a second if statement inside an if statement, we call it nested if statement or nesting the if statement.
Sample Program
Output
To know more about If Statement and Nested if Statement Click here – If Statement and Nested if Statement
if else and Nested if else Statement.
A statement executes code if if_condition is true and executes another code if if_condition is false.
Syntax
if[condition/expression]
{
Statement1;
}
else echo “Statement2”;
Example – when Condition is True then, if_condition executes. See Below
Sample Program
Output
when Condition is False then, else_condition executes. See Below
Sample Program
Output
Nested if else Statement
we insert a second if_else statement inside an if_else statement, we call it nested _if_else statement.
syntax
if[condition/expression]
{
if[condition/expression]
{
Statement1;
}
else echo “Statement2”;
}
else echo “Statement2”;
Sample Program
In the above program, The first Condition is true, then it enters in 2nd condition to check and when the 2nd condition is true then it prints that statement and skips other else statements. See the Output below:
Click Here For Next Part – Difference between Single Equal, Double Equal and, Triple Equal in PHP
PHP Fundamental Tutorials with Basic Demo by Chentan in 2020 – Part-1
PHP Fundamental Tutorials with Basic Demo by Chentan in 2020 – Part-2