PHP if-elseif-else statement is used to perform some action based on more than one condition. You can use PHP if-elseif-else statement to specify a new condition to be tested, if the first condition evaluates to be false. Here is the general form of PHP if-elseif-else statement: