3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if ($v = $test) echo 'test'; $test = 1; if ($v = $test) echo '_test_'; if ($v = 1) echo '1';
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: test in /in/SFUcD on line 2 _test_1
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: test in /in/SFUcD on line 2 _test_1