3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(false & true); var_dump(true & false); var_dump(true & true); var_dump(false & false);
Output for 4.3.0 - 5.6.21, hhvm-3.9.1 - 3.12.0, 7.0.0 - 7.0.6
int(0) int(0) int(1) int(0)