📜  php if elseif endif - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:52.658000             🧑  作者: Mango

代码示例2
if ($a > $b):
    echo "a greater than b";
elseif ($a == $b): 
    echo "a equals b";
else:
    echo "a is neither greater than or equal to b";
endif;