主页
PHP
PHP if 运算符
tryphp_if_greater_than
运行 ❯
×
更改方向
保存代码
更改主题
The > Operator
Compare two variables and write a message if $x is greater than $y.
<?php $x = 100; $y = 50; if ($x > $y) { echo "$x is greater than $y"; } ?>
The > Operator
Compare two variables and write a message if $x is greater than $y.
100 is greater than 50