summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-11-06 09:12:16 +0100
committerRemi Collet <remi@php.net>2024-11-06 09:12:16 +0100
commit2506905379819d18a133296422f3ea799b7a168a (patch)
tree9420610f48abbf3ca760a591721a014bfd5f42ef
parentc753dcafbb57b8c8570c1ac630e40993d2a3d41f (diff)
update to 0.14.0HEADmaster
-rw-r--r--PHPINFO9
-rw-r--r--REFLECTION26
-rw-r--r--php-zstd.spec19
3 files changed, 40 insertions, 14 deletions
diff --git a/PHPINFO b/PHPINFO
index 632bfeb..b89029b 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,6 +2,11 @@
zstd
Zstd support => enabled
-Extension Version => 0.13.3
-Interface Version => 1.5.5
+Extension Version => 0.14.0
+Interface Version => 1.5.6
APCu serializer ABI => 0
+
+Directive => Local Value => Master Value
+zstd.output_compression => Off => Off
+zstd.output_compression_level => -1 => -1
+zstd.output_compression_dict => no value => no value
diff --git a/REFLECTION b/REFLECTION
index c0a9903..d6b83f4 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,15 +1,27 @@
-Extension [ <persistent> extension #81 zstd version 0.13.3 ] {
+Extension [ <persistent> extension #114 zstd version 0.14.0 ] {
- Dependencies {
Dependency [ apcu (Optional) ]
}
+ - INI {
+ Entry [ zstd.output_compression <ALL> ]
+ Current = '0'
+ }
+ Entry [ zstd.output_compression_level <ALL> ]
+ Current = '-1'
+ }
+ Entry [ zstd.output_compression_dict <ALL> ]
+ Current = ''
+ }
+ }
+
- Constants [5] {
Constant [ int ZSTD_COMPRESS_LEVEL_MIN ] { 1 }
Constant [ int ZSTD_COMPRESS_LEVEL_MAX ] { 22 }
Constant [ int ZSTD_COMPRESS_LEVEL_DEFAULT ] { 3 }
- Constant [ int LIBZSTD_VERSION_NUMBER ] { 10505 }
- Constant [ string LIBZSTD_VERSION_STRING ] { 1.5.5 }
+ Constant [ int LIBZSTD_VERSION_NUMBER ] { 10506 }
+ Constant [ string LIBZSTD_VERSION_STRING ] { 1.5.6 }
}
- Functions {
@@ -139,6 +151,14 @@ Extension [ <persistent> extension #81 zstd version 0.13.3 ] {
Parameter #1 [ <required> $dictBuffer ]
}
}
+ Function [ <internal:zstd> function ob_zstd_handler ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $data ]
+ Parameter #1 [ <required> int $flags ]
+ }
+ - Return [ string|false ]
+ }
}
}
diff --git a/php-zstd.spec b/php-zstd.spec
index 4d18d72..95d194e 100644
--- a/php-zstd.spec
+++ b/php-zstd.spec
@@ -13,7 +13,7 @@
%bcond_without apcu
%bcond_without libzstd
-%global zstdver 1.5.5
+%global zstdver 1.5.6
%global pecl_name zstd
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
@@ -24,7 +24,7 @@
Summary: Zstandard extension
Name: %{?scl_prefix}php-%{pecl_name}
-Version: 0.13.3
+Version: 0.14.0
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
%if %{with libzstd}
License: MIT
@@ -105,6 +105,11 @@ mkdir ZTS
cat << 'EOF' | tee %{ini_name}
; Enable '%{summary}' extension module
extension = %{pecl_name}.so
+
+; Configuration
+;zstd.output_compression = Off
+;zstd.output_compression_level = -1
+;zstd.output_compression_dict =
EOF
@@ -206,13 +211,6 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \
%{__ztsphp} --no-php-ini \
--define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \
--modules | grep '^%{pecl_name}$'
-
-%if %{with tests}
-: Upstream test suite for ZTS extension
-TEST_PHP_EXECUTABLE=%{__ztsphp} \
-TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \
-%{__ztsphp} -n run-tests.php -q --offline --show-diff
-%endif
%endif
@@ -243,6 +241,9 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \
%changelog
+* Wed Nov 6 2024 Remi Collet <remi@remirepo.net> - 0.14.0-1
+- update to 0.14.0
+
* Mon Jan 29 2024 Remi Collet <remi@remirepo.net> - 0.13.3-1
- update to 0.13.3