3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $remote_code_version['version'] = '1.0.7'; $site['links_display_mode'] = 0; $r = ( version_compare($remote_code_version['version'], '1.1.2', '<') || version_compare($remote_code_version['version'], '1.1.2', '>=') && version_compare($remote_code_version['version'], '1.2.2', '<') && $site['links_display_mode'] == 0 ); var_dump($r);
based on 8U6L7
Output for 4.3.0 - 7.2.0
bool(true)