3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = false || true; $b = false or true; var_dump($a, $b); $c = true && false; $d = true and false; var_dump($c, $d);
Output for 4.3.0 - 7.1.0
bool(true) bool(false) bool(false) bool(true)