Skip to content

ItemPool->clear() Warning (APCu) #450

@ShawnTeoh

Description

@ShawnTeoh

Configuration:

PhpFastCache version: 5.0.15
PHP version: 7.0.15
Operating system: Ubuntu 16.04.2

Issue description:

A warning is generated when I call ItemPool->clear(), seems that apcu_clear_cache does not take any arguments: http://php.net/manual/en/function.apcu-clear-cache.php

Warning message:

PHP warning: apcu_clear_cache() expects exactly 0 parameters, 1 given in ./vendor/phpfastcache/phpfastcache/src/phpFastCache/Drivers/Apcu/Driver.php on line 111

Metadata

Metadata

Assignees

No one assigned

    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