3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = true && false; $a = true and false; var_dump("$a"); var_dump("$b");
based on Krafu
Output for 5.0.4 - 7.2.0
string(1) "1" Notice: Undefined variable: b in /in/HCAot on line 6 string(0) ""
Output for 4.3.0 - 5.0.3
string(1) "1" Notice: Undefined variable: b in /in/HCAot on line 6 string(0) ""