3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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.