3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $remote_code_version['version'] = '1.1.7'; $site['links_display_mode'] = 1; $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 u7K5v
Output for 4.3.0 - 7.1.0
bool(false)