memory_get_peak_usage
spatie/ignition
Supported Versions: PHP 5 >= 5.2.0, PHP 7, PHP 8
Returns the peak of memory allocated by PHP
<?php memory_get_peak_usage
(
bool $real_usage
=
false
):
int