Smarty

Smarty 3.1.28 released with support for PHP 7

Smarty 3.1.28 recently released, is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. This implies that PHP code is application logic, and is separated from the presentation. This release comes with a tone of bug fixes and new features, namely PHP 7 support and run-time inheritance compiling. Smarty 3.1.28 changelog bugfix {foreach} and {section} with uppercase characters in name attribute did not work bugfix $smarty-debugging_ctrl = ‘URL’ did not work bugfix Debug Console could display incorrect data when using subtemplates optimize filepath normalization rework of template inheritance speed and size optimizations bugfix under HHVM temporary cache file must only be created when caches template was updated fix compiled code for new {block} assign attribute update code generated by template function call handler size optimization move some runtime functions into extension optimize inline template processing optimization merge inheritance child and parent templates into one compiled template file load seldom used Smarty API methods dynamically to reduce memory footprint cache template object of {include} if same template is included several times convert debug console processing to object use output buffers for better performance and less memory usage optimize nocache hash processing remove not really needed properties optimize rendering move caching to Smarty::_cache remove properties with redundant content optimize Smarty::templateExists() optimize use_include_path processing relocate properties for size optimization remove redundant code See changelog for full list Download it here