The package t24 provides a highly customizable template parser written entirely in PHP4. With t24 it is possible to use nearly any kind of (ASCII-)input as a template, e.g. plain text, HTML, XML, SGML, LaTeX, or even (uncompressed and unencrypted) Postscript and PDF. The engine is implemented as a recursive descent parser. It is possible with t24 to completely separate the visible layer from the PHP layer.