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)

Reply via email to