2 ? implode('.', array_slice($parts, 0, -2)) : $parts[0]; $is_https = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off'); $gen_start = $_SERVER['REQUEST_TIME_FLOAT']; $server_data = [ 'Hostname' => $host_no_port, 'Protocol' => $_SERVER['SERVER_PROTOCOL'] ?? 'N/A', 'HTTPS' => $is_https ? 'Yes' : 'No', 'Port' => $_SERVER['SERVER_PORT'] ?? 'N/A', 'Request Method' => $_SERVER['REQUEST_METHOD'] ?? 'N/A', 'Request URI' => $_SERVER['REQUEST_URI'] ?? 'N/A', 'Server Time' => date('Y-m-d H:i:s T'), 'Timezone' => date_default_timezone_get(), ]; $gen_time = microtime(true) - $gen_start; $env_map = ['dev'=>'Development','staging'=>'Staging','test'=>'Testing','prod'=>'Production','api'=>'API','app'=>'Application','admin'=>'Admin','cdn'=>'CDN','mail'=>'Mail']; $env = 'Active'; foreach ($env_map as $k => $v) { if (str_contains($subdomain, $k)) { $env = $v; break; } } ?> <?= htmlspecialchars($subdomain) ?> · Diagnostics

is live.

· Diagnostics landing page

Serving · 0s · generated in ms
Connection
Port
Method
TTFB

Server

$v): ?>
Generation Time ms

Client

Collecting...

Performance

Collecting...