I think this detail is easily overlooked by developers unfamiliar with the fact PHP's json_decode() function can return an object or array depending on the boolean argument passed in the second parameter. Making the return types bold in documentation somehow makes me feel better.
I think this detail is easily overlooked by developers unfamiliar with the fact PHP's
json_decode()
function can return an object or array depending on the boolean argument passed in the second parameter. Making the return types bold in documentation somehow makes me feel better.