update dump format

This commit is contained in:
yggverse 2024-04-28 17:55:48 +03:00
parent 4178bda041
commit 236cb3ede3

View File

@ -338,8 +338,8 @@ $server->start(
(string) (int) is_string($response), (string) (int) is_string($response),
(string) parse_url($url, PHP_URL_HOST), (string) parse_url($url, PHP_URL_HOST),
(string) parse_url($url, PHP_URL_PORT), (string) parse_url($url, PHP_URL_PORT),
(string) str_replace('%', '%%', empty($request) ? '/' : $request), (string) empty($request) ? '/' : str_replace('%', '%%', $request),
(string) str_replace('%', '%%', empty($realpath) ? '!' : $realpath), (string) (!$realpath || !is_string($response) ? '!' : '') . str_replace('%', '%%', $realpath),
(string) mb_strlen((string) $response) (string) mb_strlen((string) $response)
], ],
NEXT_DUMP NEXT_DUMP