Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Php does not distinguish between arrays and hashmaps, which means that an empty dict serialises to json as `[ ]`. You can configure it to serialise to `{ }` instead, but that's a global setting. No, i don't think I'm being harsh.
 help



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: