We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code:
<?php declare(strict_types=1); error_reporting(E_ALL); ini_set('display_errors', true); $m = new Memcached(); $m->setMulti(['hello' => 'world'], 2);
Resulted in this output:
Fatal error: Uncaught TypeError: Memcached::setMulti(): Argument #2 ($expiration) must be of type int, int given
But I expected this output instead:
No error
8.1.2
Debian 11.2
The text was updated successfully, but these errors were encountered:
See php-memcached-dev/php-memcached#496.
Sorry, something went wrong.
I fixed the issue by updating memcahed, i run sudo apt install php8.1-memcached which updated my memcached to 3.2
No branches or pull requests
Description
The following code:
Resulted in this output:
But I expected this output instead:
PHP Version
8.1.2
Operating System
Debian 11.2
The text was updated successfully, but these errors were encountered: