XHP
E452771
XHP is a PHP extension for Facebook's Hack language that lets developers write XML-like syntax directly in code to create robust, type-safe user interface components.
All labels observed (1)
| Label | Occurrences |
|---|---|
| XHP canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T4554990 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: XHP Context triple: [Hack, feature, XHP]
-
A.
XHP
XHP is the IATA station code assigned to Paris's Gare de l'Est railway station.
-
B.
HX
HX is a postcode area in West Yorkshire, England, covering Halifax and surrounding towns including Hebden Bridge.
-
C.
XCD
XCD is the ISO 4217 currency code for the Eastern Caribbean dollar, the official monetary unit used by several Eastern Caribbean nations.
-
D.
XU
XU was a clandestine Norwegian intelligence organization that gathered and transmitted vital information to the Allies during the German occupation in World War II.
-
E.
XNM
XNM is the IATA airport-style code assigned to Norwich railway station in Norwich, England, for use in integrated transport and ticketing systems.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: XHP Target entity description: XHP is a PHP extension for Facebook's Hack language that lets developers write XML-like syntax directly in code to create robust, type-safe user interface components.
-
A.
XHP
XHP is the IATA station code assigned to Paris's Gare de l'Est railway station.
-
B.
HX
HX is a postcode area in West Yorkshire, England, covering Halifax and surrounding towns including Hebden Bridge.
-
C.
XCD
XCD is the ISO 4217 currency code for the Eastern Caribbean dollar, the official monetary unit used by several Eastern Caribbean nations.
-
D.
XU
XU was a clandestine Norwegian intelligence organization that gathered and transmitted vital information to the Allies during the German occupation in World War II.
-
E.
XNM
XNM is the IATA airport-style code assigned to Norwich railway station in Norwich, England, for use in integrated transport and ticketing systems.
- F. None of above. chosen
Statements (47)
| Predicate | Object |
|---|---|
| instanceOf |
PHP extension
ⓘ
UI component system ⓘ open-source software ⓘ |
| designGoal |
safer string interpolation in HTML
ⓘ
stronger typing for markup ⓘ |
| developedBy | Facebook NERFINISHED ⓘ |
| executionModel | compiled to PHP/Hack code ⓘ |
| feature |
HTML structure validation
ⓘ
attribute type checking ⓘ automatic HTML escaping ⓘ compile-time validation of markup ⓘ component-based architecture ⓘ custom elements ⓘ integration with Hack type system ⓘ namespaced elements ⓘ prevents XSS vulnerabilities by default ⓘ runtime validation of attributes ⓘ server-side rendering ⓘ type-safe UI components ⓘ |
| goal |
bring XML-like syntax into PHP code
ⓘ
improve safety of HTML generation in PHP ⓘ make UI code more maintainable ⓘ reduce cross-site scripting bugs ⓘ |
| inspiredTechnologies | React JSX (conceptually related) ⓘ |
| integratesWith |
HHVM
NERFINISHED
ⓘ
Hack typechecker NERFINISHED ⓘ |
| license | open-source license ⓘ |
| originallyDevelopedFor | Facebook codebase ⓘ |
| paradigm |
component-based UI development
ⓘ
declarative UI definition ⓘ |
| primaryUse |
building user interfaces
ⓘ
defining UI components ⓘ |
| programmingLanguage |
Hack
NERFINISHED
ⓘ
PHP NERFINISHED ⓘ |
| providesSyntax | XML-like syntax in PHP ⓘ |
| repositoryHost | GitHub NERFINISHED ⓘ |
| supports |
composition of components
ⓘ
custom attribute definitions ⓘ reusable UI components ⓘ |
| supportsLanguage |
Hack
NERFINISHED
ⓘ
PHP NERFINISHED ⓘ |
| syntaxStyle | XML embedded in PHP ⓘ |
| usedFor |
rendering HTML
ⓘ
rendering XML ⓘ |
| usedIn | web applications ⓘ |
| validates |
HTML attributes
ⓘ
HTML element structure ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: XHP Description of subject: XHP is a PHP extension for Facebook's Hack language that lets developers write XML-like syntax directly in code to create robust, type-safe user interface components.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.