Please sign in to comment.
Add support for PHP 5.3 namespaces
Summary: http://github.com/facebook/xhp/issues/issue/6 Currently if you use `namespace` anywhere in your client code you can no longer use XHP. This is because of the new semantics introduced to PHP 5.3. Unfortunately XHP has its own namespace structure which conflicts with PHP's. So if we detect PHP 5.3 we will embrace namespaces by sticking all our classes in the global namespace. Reviewed By: dweatherford Test Plan: Build and run tests. No new tests since we don't run PHP 5.3.
- Loading branch information...
Showing with 18 additions and 8 deletions.