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

PHP compiler errors out if escape character is part in string constant

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pvonr Pascal von Rickenbach
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: