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/05/28 21:14:12 UTC

[jira] [Created] (THRIFT-3843) integer issues with Haxe PHP targets

Jens Geyer created THRIFT-3843:
----------------------------------

             Summary: integer issues with Haxe PHP targets
                 Key: THRIFT-3843
                 URL: https://issues.apache.org/jira/browse/THRIFT-3843
             Project: Thrift
          Issue Type: Bug
            Reporter: Jens Geyer


With PHP, the integer literal 0x80000000 is stored as a double, not an integer, unless you force PHP into the latter. Due to the way how Haxe transpiles equality comparison into PHP Code, the result of comparing a variable holding this specific value against another variable or a literal may yield unexpected results.

Technical details of the issues are available here:
 * https://github.com/HaxeFoundation/haxe/issues/5288
 * https://github.com/HaxeFoundation/haxe/issues/5289



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