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

PHP extension creates undefined values when deserializing sets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • PHP - Library
    • None
    • Patch Available
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: