Version: v0.6.0 - Beta.  We welcome contributors & feedback.  THanks!

How THT Compares to PHP

Overview 

PHP has a lot of good parts:

But it also has a lot of shortcomings, which include:

About This List

The following is a mostly-complete list of differences between THT and PHP.

Some features are meant to address flaws in PHP directly. Others are intended to provide a more consistent experience overall.

Syntax 

Convenience 

THT Syntax

See Intermediate Features

HTML Syntax

See HTML-C Shortcuts

Safety 

Consistency 

Security