3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $myArray = [ { "id": 86, "name": "admin/login", }, { "id": 87, "name": "admin/logout", }, { "id": 88, "name": "admin/desktop", } ]
Output for 5.5.0 - 7.0.5
Parse error: syntax error, unexpected '{', expecting ']' in /in/2rlpu on line 5
Process exited with code 255.