Skip to content

Commit 42d88b2

Browse files
committed
info panel: added TS indicator & xdebug modes
1 parent 9d6efa2 commit 42d88b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Tracy/Bar/panels/info.panel.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ $info = [
4343
'Your IP' => $ipFormatter($_SERVER['REMOTE_ADDR'] ?? null),
4444
'Server IP' => $ipFormatter($_SERVER['SERVER_ADDR'] ?? null),
4545
'HTTP method / response code' => isset($_SERVER['REQUEST_METHOD']) ? $_SERVER['REQUEST_METHOD'] . ' / ' . http_response_code() : null,
46-
'PHP' => PHP_VERSION,
47-
'Xdebug' => extension_loaded('xdebug') ? phpversion('xdebug') : null,
46+
'PHP' => PHP_VERSION . ' ' . (PHP_ZTS ? 'TS' : 'NTS'),
47+
'Xdebug' => extension_loaded('xdebug') ? phpversion('xdebug') . ' (' . implode(', ', xdebug_info('mode')) . ')' : null,
4848
'Tracy' => Debugger::Version,
4949
'Server' => $_SERVER['SERVER_SOFTWARE'] ?? null,
5050
];

0 commit comments

Comments
 (0)