3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var = 23.94; $result['colname'] = '23.94'; var_dump($var); var_dump($result['colname']); if ($var >= $result['colname']) { echo "\$var is greater than or equal to \$result['colname']"; } else { echo "\$var is less than \$result['colname']"; }
Output for 4.3.0 - 7.1.0
float(23.94) string(5) "23.94" $var is greater than or equal to $result['colname']