ceil
brefphp/bref
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Round fractions up
ceil
(
int
|
float $num
):
float
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
([
src/Console/Command/Local.php
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