[ https://issues.apache.org/jira/browse/THRIFT-1496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Grumet updated THRIFT-1496: ---------------------------------- Attachment: THRIFT-1496.patch Adds missing namespace prefix. > PHP compiler not namespacing enums > ---------------------------------- > > Key: THRIFT-1496 > URL: https://issues.apache.org/jira/browse/THRIFT-1496 > Project: Thrift > Issue Type: Bug > Components: PHP - Compiler > Affects Versions: 0.8 > Reporter: Andrew Grumet > Fix For: 0.9 > > Attachments: THRIFT-1496.patch > > > test/php$ php TestClient.php > php TestClient.php > =============================== > SAFE TO IGNORE THESE IN TEST > =============================== > [-- snip snip --] > =============================== > END OF SAFE ERRORS SECTION > =============================== > testVoid() = void > [-- snip snip --] > testList({-2, -1, 0, 1, 2}) = {-2, -1, 0, 1, 2} > testEnum(ONE)PHP Fatal error: Class 'ThriftTest_Numberz' not found in > /home/aegrumet/thrift/test/php/TestClient.php on line 264 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira