IfStatement : if ( Expression ) Statement else Statement if ( Expression ) Statement
IfStatement: if ( Expression ) Statement [ else Statement]@since 2.0 @noinstantiate This class is not intended to be instantiated by clients.
e.g.if ($a > $b) { echo "a is bigger than b"; } elseif ($a == $b) { echo "a is equal to b"; } else { echo "a is smaller than b"; }, if ($a): echo "a is bigger than b"; echo "a is NOT bigger than b"; endif;
IfStatement : if ( Expression ) Statement else Statement if ( Expression ) Statement
This class represents an if-else statement in the storedprocedure language. It extends the Statement
that could part of a block. This statement has an IF block and an optional ELSE block, it also holds reference to the criteria that determines which block should be executed..
|
|