3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $json = '[{ "FirstName": "Tom" "LastName": "Jones" "EmployeeID": "123" "ManagerEmployeeID": "" "Manager Name": "" }, { "FirstName": "Alice" "LastName": "Wong" "EmployeeID": "456" "ManagerEmployeeID": "123" "Manager Name": "Tom Jones" }, { "FirstName": "Tommy" "LastName": "J." "EmployeeID": "654" "ManagerEmployeeID": "123" "Manager Name": "Tom Jones" }, { "FirstName": "Billy" "LastName": "Bob" "EmployeeID": "777" "ManagerEmployeeID": "" "Manager Name": "" }, { "FirstName": "Rik" "LastName": "A." "EmployeeID": "622" "ManagerEmployeeID": "777" "Manager Name": "Billy Bob" }, { "FirstName": "Bob" "LastName": "Small" "EmployeeID": "111" "ManagerEmployeeID": "622" "Manager Name": "Rik A." }, { "FirstName": "Small" "LastName": "Jones" "EmployeeID": "098" "ManagerEmployeeID": "622" "Manager Name": "Rik A" }, { "FirstName": "Eric" "LastName": "C." "EmployeeID": "222" "ManagerEmployeeID": "777" "Manager Name": "Billy Bob" }]'; $array = json_decode($json,false,512,JSON_OBJECT_AS_ARRAY); print_r($array);
based on CPKhU
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0rc3