[ 
https://issues.apache.org/jira/browse/THRIFT-3126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14529140#comment-14529140
 ] 

Hudson commented on THRIFT-3126:
--------------------------------

SUCCESS: Integrated in Thrift #1535 (See 
[https://builds.apache.org/job/Thrift/1535/])
THRIFT-3126 PHP JSON serializer converts empty or int-indexed maps to lists 
(jensg: rev 89cffc6f76389da2603aec3f7467c128f79055d2)
* lib/php/test/Test/Thrift/JsonSerialize/JsonSerializeTest.php
* compiler/cpp/src/generate/t_php_generator.cc


> 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)

Reply via email to