XHP
Noun · Development
Definitions
An extension to PHP/Hack that allows writing XML/HTML elements as first-class language expressions. Created at Facebook, XHP prevents XSS by escaping output by default and enables component-based UI composition in server-side code.
In plain English: A way to write HTML directly inside PHP/Hack code as if it were native syntax, automatically preventing common security holes in web pages.
Example: "XHP was React before React — composable UI components, but on the server side in PHP."