3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $check = true; $criteria = false; $ret_bool = $criteria || $check; $ret_logic = $criteria or $check; var_dump($ret_bool, $ret_logic);
Output for 4.3.0 - 7.1.0
bool(true) bool(false)