主页
PHP
PHP 运算符
tryphp_oper_and
运行 ❯
×
更改方向
保存代码
更改主题
The and Operator
Write a message if both conditions are true.
<?php $x = 100; $y = 50; if ($x == 100 and $y == 50) { echo "Hello world!"; } ?>
The and Operator
Write a message if both conditions are true.
Hello world!