3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test &= (unset)array(1, 2, 3); $r = (array)$test; var_dump($r);
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: test in /in/INua2 on line 3 array(1) { [0]=> int(0) }
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: test in /in/INua2 on line 3 array(1) { [0]=> int(0) }