printf
brefphp/bref
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Output a formatted string
printf
(
string $format
,
mixed
...
$values
):
int
throw new
Timeout
(
$timeoutDelayInMs
);
} catch (
Throwable $e
) {
printf
(
"Error communicating with PHP-FPM to read the HTTP response. Bref will restart PHP-FPM now. Original exception message: %s %s\n"
,
get_class
(
$e
),
$e
->
getMessage
()
);
$this
->
stop
();
src/Event/Http/FpmHandler.php
} else {
$errorMessage
=
$error
->
getMessage
();
}
printf
(
"Fatal error: %s in %s:%d\nStack trace:\n%s"
,
$errorMessage
,
$error
->
getFile
(),
$error
->
getLine
(),
$error
->
getTraceAsString
()
);
}
$url
=
"http://
{
$this
->
apiUrl
}
/2018-06-01/runtime/init/error"
;
src/Runtime/LambdaRuntime.php