3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(version_compare('5.6.3', '5.7')); var_dump(version_compare('5.7.0a3', '5.7'));
Output for 4.3.0 - 7.1.0
int(-1) int(1)