Render a big template

Purpose of this benchmark is to use a maximum of features of template engines.
Template contains duplicated code, to not use loops and represent a real template.
It has exaclty same features as templating small overload benchmark, by multiplying everything by 10 (10x more blocks, macros etc).

Call GET
Template ~ 93,700 lines, ~ 5.5 Mo Example
Use a layout Yes Example
Blocks 500 (create and fill) Example
Custom functions 1,000 create and call) Example
Macros 1,000 create and call) Example
Escape strings for HTML 5,000 (escape and echo) Example
Escape strings for Javascript 5,000 (escape and assign) Example
Variables assignation 1,000 Example
Echo raw strings 1,000 Example
Echo unknowns variables 1,000 Example
Echo object methods call 5,000 Example
Templates inclusions 500 Example
Response ~ 91,200 lines, ~ 5.3 Mo Example

PHP

#1 PHP 8.0 53.3 ms
40,000
#2 PHP 7.4 57.1 ms
38,305
#3 PHP 7.3 56.7 ms
37,859
#4 PHP 7.2 64.8 ms
33,650
#5 PHP 7.0 75.4 ms
28,989