memory_get_usage
brefphp/bref
Supported Versions: PHP 4 >= 4.3.2, PHP 5, PHP 7, PHP 8
Returns the amount of memory allocated to PHP
memory_get_usage
(
bool $real_usage
=
false
):
int
private function
logEnd
(
float $startTime
,
SymfonyStyle $io
,
string $requestId
):
void
{
$duration
=
ceil
((
microtime
(
true
) -
$startTime
) *
1000
);
$memoryUsed
=
ceil
(
memory_get_usage
() /
1024
/
1024
);
$io
->
writeln
([
"END RequestId:
$requestId
"
,
src/Console/Command/Local.php