Overview
The samples in this section are part of the test harness used to validate nTile PtoJ. They cover a wide variety of language constructs, statements, type inference scenarios etc. Together they form a comprehensive picture of the solutions adopted for the translation of various PHP constructs.
Click on categories and samples to view them. Each sample is organized as a series of tabs, one file per tab. For brevity, some classes were left out from the Java™ output.
For more complex examples, browse the source code of our case studies.