3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo version_compare('5.6.2.1', '5.6.2.2b2'), "\n"; echo version_compare('5.6.2.2b2', '5.6.2.2b2'), "\n"; echo version_compare('5.6.2.2', '5.6.2.2b2'), "\n";
Output for 4.3.0 - 7.1.0
-1 0 1