PHP 7.4.4
Source code| Memory | 1.4 Mo |
|---|---|
| Memory peak | 1.5 Mo |
| Real memory | 2.1 Mo |
| Real memory peak | 2.1 Mo |
| Declared classes | 177 |
| Declared interfaces | 18 |
| Declared traits | 0 |
| Defined functions | 2 |
| Defined constants | 2,143 |
| Preload memory | 0 |
| Preloaded files | 0 |
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 |