Wonder why this doesn't throw an IDL syntax error. Is that valid syntax? I doubt that. ________________________________ Von: Randy Abernethy (JIRA) Gesendet: 06.02.2015 01:57 An: dev@thrift.apache.org Betreff: [jira] [Created] (THRIFT-2981) IDL with no namespace produces unparsable PHP
Randy Abernethy created THRIFT-2981: --------------------------------------- Summary: IDL with no namespace produces unparsable PHP Key: THRIFT-2981 URL: https://issues.apache.org/jira/browse/THRIFT-2981 Project: Thrift Issue Type: Bug Components: PHP - Compiler Affects Versions: 0.9.2 Environment: all Reporter: Randy Abernethy Assignee: Randy Abernethy Priority: Minor Fix For: 0.9.3 Compiling IDL for PHP without a namespace produces: {noformat} namespace ; {noformat} in the generated code which causes PHP to produce: {noformat} PHP Parse error: syntax error, unexpected ';', expecting identifier (T_STRING) or \\\\ (T_NS_SEPARATOR) or '{' in ... on line 2 {noformat} patch forthcoming. -- This message was sent by Atlassian JIRA (v6.3.4#6332)