Php Greater than equal to Comparison operator example tutorial

How to use greater then equal to ( >= ) operator to compare two values.

Grater then equal to operator returns true if left side operand is equal to right side variable’s value or holds bigger value then right side variable’s value. For example if $a = 10 and $b = 10 and we compare both variables like this $a >= $b then it will return True in answer. So here is the complete step by step tutorial for Php Greater than equal to Comparison operator example tutorial.

android-project-download-code-button

Php Greater than equal to Comparison operator example tutorial.

Code for GreaterEqual-program.php file.

 <!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Php Greater than equal to Comparison operator example tutorial</title>
</head>

<body>

<?php

$one = 10;

$two = 10;

var_dump($one >= $two);

?>

</body>
</html>

Screenshot :

Php Greater than equal to Comparison operator example tutorial

Click here to download Php Greater than equal to Comparison operator example tutorial project file.

Leave a Reply

Your email address will not be published. Required fields are marked *