-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined constant COMPRESSION_ZSTD_MIN #2487
Comments
I had look at it, and my guess is that this breakage is an oversight. |
It doesn't look like there's any logic to it, and it seemed to always be set to |
Thanks, I will add this back. |
michael-grunder
added a commit
that referenced
this issue
May 14, 2024
These values are actually runtime in nature and can be retrieved with `ZSTD_minCLevel()` and `ZSTD_maxCLevel()` respectively. Fixes #2487
michael-grunder
added a commit
that referenced
this issue
May 14, 2024
These values are actually runtime in nature and can be retrieved with `ZSTD_minCLevel()` and `ZSTD_maxCLevel()` respectively. Fixes #2487
vlakoff
referenced
this issue
May 14, 2024
Let gen_stub.php define the constants for us, including deriving their actual values from C defines. As a side-effect we have to drop support for PHP < 7.2 as it does not have interned strings.
michael-grunder
added a commit
that referenced
this issue
May 16, 2024
michael-grunder
added a commit
that referenced
this issue
May 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
It seems that between 5.7.3 and 6.0.0 the constant COMPRESSION_ZSTD_MIN was removed in this commit:
2a6dee5#diff-a1471159ac00556a439382b010c89a8507ebc6f03311ec7655cebd95dc6c978eL336
Was this intentional or just an oversight as
COMPRESSION_ZSTD_MAX
andCOMPRESSION_ZSTD_DEFAULT
still remain?The Laravel framework uses this constant and running the tests locally fails because the constant is no longer defined.
I'm seeing this behaviour on
I've checked
develop
branchThe text was updated successfully, but these errors were encountered: