You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Pascal von Rickenbach (JIRA)" <ji...@apache.org> on 2017/06/30 21:50:00 UTC

[jira] [Created] (THRIFT-4244) PHP compiler errors out if escape character is part in string constant

Pascal von Rickenbach created THRIFT-4244:
---------------------------------------------

             Summary: PHP compiler errors out if escape character is part in string constant
                 Key: THRIFT-4244
                 URL: https://issues.apache.org/jira/browse/THRIFT-4244
             Project: Thrift
          Issue Type: Bug
          Components: PHP - Compiler
    Affects Versions: 0.10.0
         Environment: official thrift docker image https://hub.docker.com/_/thrift/
            Reporter: Pascal von Rickenbach
            Priority: Minor


The compiler throws an error when defining a string constant that contains an escape character. E.g a backslash like in this definition:

const string ISO8601U = "Y-m-d\TH:i:s.uP";

According to the Thrift IDL only double quotes are forbidden in the string.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)