3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $d = [ { "title": "UberConference Service", "apsId": "d31ae0fd-9259-4620-b12f-a6e4da566f07", "apsType": "http://www.uberconference.com/aps/service/1.0", "id": 1000245, "usage": 1, "limit": 1, "unit": "unit" }, { "title": "UberConference User", "apsType": "http://www.uberconference.com/aps/user/1.0", "id": 1000248, "usage": 0, "unit": "unit" }, { "title": "UberConference Enterprise", "apsType": "http://www.uberconference.com/aps/enterprise/1.0", "id": 1000251, "usage": 1, "limit": 1, "unit": "unit" }, { "title": "UberConference Enterprise", "apsType": "http://www.uberconference.com/aps/enterprise/1.0", "id": 1000254, "property": "standard_licenses", "usage": 0, "unit": "unit" }, { "title": "UberConference Enterprise", "apsType": "http://www.uberconference.com/aps/enterprise/1.0", "id": 1000257, "property": "tollfree_licenses", "usage": 0, "unit": "unit" } ]; echo $d';
based on SRASU
Output for 5.4.0 - 5.4.32
Parse error: syntax error, unexpected '{', expecting ']' in /in/7e5KG on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/7e5KG on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/7e5KG on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/7e5KG on line 2
Process exited with code 255.