3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = Array ( [0] => Array ( [path_name] => images/app-store.png [food_name] => testq ) [1] => Array ( [path_name] => images/badge_ios.png [food_name] => item 123 ) [2] => Array ( [path_name] => images/download_on_appstore.png [food_name] => Cole Slaw ) ); print_r($a);
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/3MNVr on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected '[', expecting ')' in /in/3MNVr on line 5
Process exited with code 255.