3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $strOne = "280.83"; $strTwo = "280.84"; echo "< " . $strOne < $strTwo . "\n"; echo "<= " . $strOne <= $strTwo . "\n"; echo "= " . $strOne = $strTwo . "\n"; echo ">= " . $strOne >= $strTwo . "\n"; echo "> " . $strOne > $strTwo . "\n"; $fOne = parsefloat($strOne); $fTwo = parsefloat($strTwo); echo "< " . $fOne < $fTwo . "\n"; echo "<= " . $fOne <= $fTwo . "\n"; echo "= " . $fOne = $fTwo . "\n"; echo ">= " . $fOne >= $fTwo . "\n"; echo "> " . $fOne > $fTwo . "\n";
Output for 7.0.0 - 7.2.0
= 280.84 11 Fatal error: Uncaught Error: Call to undefined function parsefloat() in /in/TqB9L:12 Stack trace: #0 {main} thrown in /in/TqB9L on line 12
Process exited with code 255.
Output for 5.3.18 - 5.5.31, 5.5.33 - 5.6.28
= 280.84 11 Fatal error: Call to undefined function parsefloat() in /in/TqB9L on line 12
Process exited with code 255.
Output for 5.5.32

Process exited with code 137.