[ https://issues.apache.org/jira/browse/THRIFT-3126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer resolved THRIFT-3126. -------------------------------- Resolution: Fixed Fix Version/s: 0.9.3 Committed, thanks! > PHP JSON serializer converts empty or int-indexed maps to lists > --------------------------------------------------------------- > > Key: THRIFT-3126 > URL: https://issues.apache.org/jira/browse/THRIFT-3126 > Project: Thrift > Issue Type: Bug > Components: PHP - Compiler > Affects Versions: 0.9.2 > Reporter: Stig Bakken > Assignee: Stig Bakken > Priority: Minor > Fix For: 0.9.3 > > > Because of PHP's idiosyncratic arrays, you can't tell the difference between > an empty array and empty associative array (they are the same), or between a > thrift map with integer indexes and a list. Fix attached. -- This message was sent by Atlassian JIRA (v6.3.4#6332)