3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array(0 => 1), array(0 => 2), array(0=>2); print_r($input);
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.29
Parse error: syntax error, unexpected ',' in /in/Gd6mh on line 3
Process exited with code 255.

preferences:
187.55 ms | 1386 KiB | 66 Q