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