3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $x['something'];
Output for 8.0.0alpha1 - beta3
Warning: Undefined variable $x in /in/61aiF on line 3 Warning: Trying to access array offset on value of type null in /in/61aiF on line 3
Output for 7.4.0 - 7.4.10
Notice: Undefined variable: x in /in/61aiF on line 3 Notice: Trying to access array offset on value of type null in /in/61aiF on line 3
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.22
Notice: Undefined variable: x in /in/61aiF on line 3