Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Output a formatted string
<?php printf(string $format, mixed ...$values): int
<?php             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();
<?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";