3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function b($t) { echo $t; return $t; } echo ((b(true) && b(false)) || b(false)) . "\n"; echo ((b(true) && b(true)) || b(false)) . "\n"; echo ((b(true) && b(false)) || b(false)) . "\n";
Output for 4.3.0 - 7.1.0
1 111 1