3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php magic = 1; function getFalse() { global $magic; $magic = 2; return false; } $a = false && getFalse(); var_dump($a); $b = true && getFalse(); var_dump($b);
Output for 5.3.0 - 5.4.4
Parse error: syntax error, unexpected '=' in /in/M9bEK on line 2
Process exited with code 255.