<!DOCTYPE html>
<html>
<body>
<h1>and 运算符</h1>
<p>如果两个条件都为真,则输出一条消息。</p>
<?php
$x = 100;
$y = 50;
if ($x == 100 and $y == 50) {
echo "Hello world!";
}
?>
</body>
</html>