You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2016/11/17 20:47:58 UTC

[jira] [Resolved] (THRIFT-3977) PHP extension creates undefined values when deserializing sets

     [ https://issues.apache.org/jira/browse/THRIFT-3977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer resolved THRIFT-3977.
--------------------------------
       Resolution: Fixed
         Assignee: Håkon Hitland
    Fix Version/s: 0.11.0

Committed, thank you!

> PHP extension creates undefined values when deserializing sets
> --------------------------------------------------------------
>
>                 Key: THRIFT-3977
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3977
>             Project: Thrift
>          Issue Type: Bug
>          Components: PHP - Library
>            Reporter: Håkon Hitland
>            Assignee: Håkon Hitland
>             Fix For: 0.11.0
>
>
> The PHP binary protocol acceleration extension does not deserialize sets correctly for PHP 7.
> It should be setting the value to "true", but instead sets them to an undefined value. This causes strange behaviour in PHP, like arrays with size > 0 that compare equal to the empty array.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)