3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo version_compare(PHP_VERSION, '5.2.0');
Output for 5.2.1 - 7.1.0
1
Output for 5.2.0
0
Output for 4.3.0 - 5.1.6
-1