From 1bfe32ae86438f87149c4f187a4e2aedb3fbc2ec Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Wed, 6 Nov 2024 10:26:43 +0100 Subject: [PATCH] Add support for brotli (#1000) --- data/supported-extensions | 1 + scripts/tests/brotli | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100755 scripts/tests/brotli diff --git a/data/supported-extensions b/data/supported-extensions index 2b9b136..da3eff6 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -5,6 +5,7 @@ ast 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 bcmath 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 bitset 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 blackfire 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 +brotli 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 bz2 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 calendar 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 cassandra 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 diff --git a/scripts/tests/brotli b/scripts/tests/brotli new file mode 100755 index 0000000..0a9cd04 --- /dev/null +++ b/scripts/tests/brotli @@ -0,0 +1,22 @@ +#!/usr/bin/env php + brotli_uncompress() failure!\n"); + exit(1); +} +echo "brotli_compress() -> brotli_uncompress() works\n"; + +return 0;