3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = 'test'; $a &= $test; $a = 'blubb'; echo $test;
Output for 7.1.0 - 7.2.6
Notice: Undefined variable: a in /in/YlaGJ on line 4 Warning: A non-numeric value encountered in /in/YlaGJ on line 4 test
Output for 5.0.4 - 7.0.20
Notice: Undefined variable: a in /in/YlaGJ on line 4 test
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: a in /in/YlaGJ on line 4 test