3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(10); $v = $a[0]; echo $a[0] * ($a[0] = 5); echo ++$a[]; echo ++$x;
Output for 5.0.4 - 7.1.7
501 Notice: Undefined variable: x in /in/6jqR8 on line 6 1
Output for 4.3.0 - 5.0.3
501 Notice: Undefined variable: x in /in/6jqR8 on line 6 1