Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3977

PHP extension creates undefined values when deserializing sets

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: PHP - Library
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Flags:
      Patch

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hakon Håkon Hitland
                Reporter:
                hakon Håkon Hitland
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: