Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Undefined constant COMPRESSION_ZSTD_MIN #2487

@calebdw

Description

@calebdw

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 and COMPRESSION_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

  • OS: PopOS 22
  • Redis:
  • PHP: 8.2
  • phpredis: 6.0.2

I've checked

  • There is no similar issue from other users
  • Issue isn't fixed in develop branch

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions