PHP 5.6.40
Source code| Memory | 1.4 Mo | 
|---|---|
| Memory peak | 1.5 Mo | 
| Real memory | 1.8 Mo | 
| Real memory peak | 1.8 Mo | 
| Declared classes | 151 | 
| Declared interfaces | 16 | 
| Declared traits | 0 | 
| Defined functions | 2 | 
| Defined constants | 1,836 | 
Render a big template
| 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 |