3v4l.org

run code in 300+ PHP versions simultaneously
<?php $abc = []; // $abc["a"] = 1; $abc["a"]["b"] = 1; echo $abc["a"]["b"];<?php $abc = []; // $abc["a"] = 1; $abc["a"]["b"] = 1; echo $abc["a"]["b"];
Output for 8.2.0 - 8.2.29, 8.3.0 - 8.3.28, 8.4.1 - 8.4.15, 8.5.0
Parse error: syntax error, unexpected token "<", expecting end of file in /in/H35Nh on line 5
Process exited with code 255.

preferences:
152.49 ms | 1086 KiB | 7 Q