Is there a php template engine can work like asp.net
===

PHP template engine like smart only gives an extends method for us to designing pages. In asp.net, we can extend(using master page) and also can create user controls and include different user controls in one page. Is there a php template engine can do such work?