Skip to content

Commit 15e5793

Browse files
Add output new constant with brotli version
1 parent 70c683b commit 15e5793

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bench.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# Author : Sergey Dryabzhinsky #
1111
# Company : Rusoft Ltd, Russia #
1212
# Date : Jun 13, 2025 #
13-
# Version : 1.0.67 #
13+
# Version : 1.0.68-dev #
1414
# License : Creative Commons CC-BY license #
1515
# Website : https://github.com/rusoft/php-simple-benchmark-script #
1616
# Website : https://gitea.rusoft.ru/open-source/php-simple-benchmark-script #
@@ -20,7 +20,7 @@
2020

2121
include_once("php-options.php");
2222

23-
$scriptVersion = '1.0.67';
23+
$scriptVersion = '1.0.69-dev';
2424

2525
// Special string to flush buffers, nginx for example
2626
$flushStr = '<!-- '.str_repeat(" ", 8192).' -->';
@@ -2052,7 +2052,7 @@ function print_results_common()
20522052
. str_pad("lz4", $padInfo, ' ', STR_PAD_LEFT) . " : $has_lz4\n"
20532053
. str_pad("snappy", $padInfo, ' ', STR_PAD_LEFT) . " : $has_snappy\n"
20542054
. str_pad("zstd", $padInfo, ' ', STR_PAD_LEFT) . " : $has_zstd, version: ".LIBZSTD_VERSION_STRING.";\n"
2055-
. str_pad("brotli", $padInfo, ' ', STR_PAD_LEFT) . " : $has_brotli\n"
2055+
. str_pad("brotli", $padInfo, ' ', STR_PAD_LEFT) . " : $has_brotli, version: ".BROTLI_VERSION_TEXT.";\n"
20562056
. str_pad("uuid", $padInfo, ' ', STR_PAD_LEFT) . " : $has_uuid\n"
20572057
. str_pad("-affecting->", $padInfo, ' ', STR_PAD_LEFT) . "\n"
20582058
. str_pad("opcache", $padInfo, ' ', STR_PAD_LEFT) . " : $has_opcache; enabled: {$opcache}\n"

0 commit comments

Comments
 (0)