PHP if2

Write a program to show the use of if statement in PHP?


Output: