3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = 0; unset($x[++$i][++$j]);
Output for 5.0.4 - 7.2.0
Notice: Undefined variable: i in /in/JEIdg on line 3 Notice: Undefined variable: j in /in/JEIdg on line 3 Warning: Cannot unset offset in a non-array variable in /in/JEIdg on line 3
Output for 5.0.0 - 5.0.3
Notice: Undefined variable: i in /in/JEIdg on line 3 Notice: Undefined variable: j in /in/JEIdg on line 3 Warning: Cannot unset offset in a non-array variable in /in/JEIdg on line 3
Output for 4.3.0 - 4.4.9
Notice: Undefined variable: i in /in/JEIdg on line 3 Notice: Undefined variable: j in /in/JEIdg on line 3