3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = Array ( [dicer] => Array ( [methods] => Array ( [0] => dice_it [1] => rotate ) [properties] => Array ( [0] => rotation_angle ) ) ); echo $test;
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/Hjbsm on line 10
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected '[', expecting ')' in /in/Hjbsm on line 5
Process exited with code 255.

preferences:
203.37 ms | 1386 KiB | 66 Q