diff options
Diffstat (limited to 'zstd.php')
-rw-r--r-- | zstd.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -14,16 +14,16 @@ if (PHP_VERSION_ID < 70400 || !extension_loaded("ffi")) { printf("PHP version %s\n", PHP_VERSION); if (PHP_SAPI == "cli" && !class_exists("\\Remi\\Zstd")) { - printf("Fallback on manual load\n\n"); + printf("Fallback on manual load\n"); require_once __DIR__ . '/preload-zstd.inc'; } else { - printf("Use preloaded class\n\n"); + printf("Use preloaded class\n"); } if (class_exists("\\Remi\\Zstd")) { $t = microtime(true); $ret = \Remi\Zstd::compress(PHP_BINARY, "testffi.zstd"); - printf("Src length = %d\n", $ret['in_len']); + printf("\nSrc length = %d\n", $ret['in_len']); printf("ZSTD_compressBound = %d\n", $ret['max_len']); printf("ZSTD_compress = %d\n", $ret['out_len']); |