3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $q1 = true or false; $q2 = true and false; $q3 = false and false; $q4 = false or false; var_dump($q1); var_dump($q2); var_dump($q3); var_dump($q4);
based on pMVqB
Output for 4.3.0 - 7.1.0
bool(true) bool(true) bool(false) bool(false)