3v4l.org

run code in 150+ 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($avl & 7) { echo '7'; } } test(8 ^ 16);
Output for 5.0.4 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
16831 Notice: Undefined variable: avl in /in/hPJnQ on line 12
Output for 4.3.0 - 5.0.3
16831 Notice: Undefined variable: avl in /in/hPJnQ on line 12