3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump("a"); var_dump("a"&1); var_dump("b"&1);
based on iOHp7
Output for 7.1.0 - 7.2.0
string(1) "a" Warning: A non-numeric value encountered in /in/BK2S7 on line 4 int(0) Warning: A non-numeric value encountered in /in/BK2S7 on line 5 int(0)
Output for 5.3.21 - 7.0.20
string(1) "a" int(0) int(0)