3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function test($val) { if($val & 16) { echo '16'; } if($val & 8) { echo '8'; } if($val & 31) { echo '31'; } if($val & 7) { echo '7'; } } test(8 ^ 16);
Output for 4.3.0 - 7.2.0
16831