Browse Source

update dump format

nex-php
yggverse 7 months ago
parent
commit
236cb3ede3
  1. 4
      src/nex.php

4
src/nex.php

@ -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

Loading…
Cancel
Save