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