3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array(0=>1,1=>2); $check = true; unset($arr[0], $check); print_r($arr, $check);
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: check in /in/BVvXU on line 6 Array ( [1] => 2 )
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: check in /in/BVvXU on line 6 Array ( [1] => 2 )