Run ❯
Get your
own PHP
server
Result Size:
625 x 565
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> <h1>The >= Operator</h1> <p>Compare two variables and write a message if $x is greater than, or equal to, $y.</p> <?php $x = 100; $y = 100; if ($x >= $y) { echo "$x is greater than, or equal to $y"; } ?> </body> </html>
The >= Operator
Compare two variables and write a message if $x is greater than, or equal to, $y.
100 is greater than, or equal to 100