3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $e = false || true; var_dump($e); $f = false or true; var_dump($f); if (true or false) { echo 'oi'; }
based on HstjG
Output for 4.3.0 - 7.2.0
bool(true) bool(false) oi