Skip to content
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

Fix/cache apcu update #342

Merged
merged 3 commits into from
Aug 9, 2023

Conversation

emelyanov-s
Copy link

  • Fixing problem since PHP 8.1: it is not possible to pass null to apcu_store $ttl parameter, but is it possible by interface and comments and means "null => infinite lifetime". So it must be 0 for apcu_store
  • Using APCUIterator for APCu

- Deprecated: apcu_store(): Passing null to parameter Shardj#3 ($ttl) of type int is deprecated
…pects exactly 0 arguments, 1 given

- Delete unrable statements
@hungtrinh
Copy link

Mr @glensc could you please review this PR!

@develart-projects develart-projects merged commit 9643572 into Shardj:master Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants