Skip to content

PHP 8.1: Memcached::setMulti() throws invalid type error for $expiration #484

Closed
@othercorey

Description

@othercorey

I created a php bug initially - https://bugs.php.net/bug.php?id=81063.

TypeError: Memcached::setMulti(): Argument #2 ($expiration) must be of type int, int given

Even when passing an int correctly, it throws an error expecting an int. I don't know if this is related to the implementation, stubs or PHP core. However, no other methods are throwing this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions