Closed
Description
If you copy the next example from https://www.php.net/manual/es/memcached.setmulti.php
<?php
$m = new Memcached();
$m->addServer('localhost', 11211);
$items = array(
'key1' => 'value1',
'key2' => 'value2',
'key3' => 'value3'
);
$m->setMulti($items, time() + 300);
You will get the error "PHP Fatal error: Uncaught TypeError: Memcached::setMulti(): Argument #2 ($expiration) must be of type int, int given" .
It works in php8.0, but not in php8.1.
The Error " must be of type int, int given" is a bit confusing.