XHP is a PHP extension which augments the syntax of the language such that XML document fragments become valid PHP expressions.