Skip to content

Commit 967ad09

Browse files
committed
remove colons
1 parent 50d72a5 commit 967ad09

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

bench.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -198,20 +198,20 @@
198198
$p('', '', '-');
199199
printf('|%s|%s', str_pad(sprintf("PHP BENCHMARK SCRIPT v.%s by @SergiX44", $V), $w - 2, ' ', STR_PAD_BOTH), $lf);
200200
$p('', '', '-');
201-
$p('PHP version', PHP_VERSION);
201+
$p('PHP', PHP_VERSION);
202202
$p('Platform', PHP_OS);
203203
if ($isCli) {
204-
$p('Server:', gethostname());
204+
$p('Server', gethostname());
205205
} else {
206206
$name = @$_SERVER['SERVER_NAME'] ?: 'null';
207207
$addr = @$_SERVER['SERVER_ADDR'] ?: 'null';
208-
$p('Server:', "{$name}@{$addr}");
208+
$p('Server', "{$name}@{$addr}");
209209
}
210210
$opStatus = function_exists('opcache_get_status') ? opcache_get_status() : false;
211-
$p('OPCache status:', is_array($opStatus) && @$opStatus['opcache_enabled'] ? 'enabled' : 'disabled');
212-
$p('OPCache JIT:', is_array($opStatus) && @$opStatus['jit']['enabled'] ? 'enabled' : 'disabled/unavailable');
213-
$p('PCRE JIT:', ini_get('pcre.jit') ? 'enabled' : 'disabled');
214-
$p('Started at:', DateTime::createFromFormat('U.u', microtime(true))->format('d/m/Y H:i:s.v'));
211+
$p('OPCache status', is_array($opStatus) && @$opStatus['opcache_enabled'] ? 'enabled' : 'disabled');
212+
$p('OPCache JIT', is_array($opStatus) && @$opStatus['jit']['enabled'] ? 'enabled' : 'disabled/unavailable');
213+
$p('PCRE JIT', ini_get('pcre.jit') ? 'enabled' : 'disabled');
214+
$p('Started at', DateTime::createFromFormat('U.u', microtime(true))->format('d/m/Y H:i:s.v'));
215215
$p('', '', '-');
216216

217217
$stopwatch = new StopWatch();

0 commit comments

Comments
 (0)