phpx augments PHP syntax with powerful metaprogramming constructs such as mixins, class-level eval()/macros, pattern matching, annotations and interface delegation. It also implements a simple compiler for converting this extended syntax to standard PHP. The "compiled" code can be cached to disk, allowing features to be used without any runtime performance penalty.