Hyvor Developer
  Home   Download   Copy
Code
<?php
$a = 4;
$b = 10;
var_dump($a > $b); // returns false because $a is less than $b

$c = 'hello';
$d = 'world';
var_dump($c > $d); // returns false. works according to the alphabetic
Result