Homec4science

With APCu 5+, use `apcu_*` function to examine cache state

Authored by epriestley <git@epriestley.com> on Jan 13 2017, 00:38.

Description

With APCu 5+, use apcu_* function to examine cache state

Summary: Ref T9640. APCu 5.0+ (for PHP7) uses apcu_* functions instead of apc_ functions. Test for function existence and call the appropriate functions.

Test Plan: {F2352695}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9640

Differential Revision: https://secure.phabricator.com/D17198

Details

Committed
epriestley <git@epriestley.com>Jan 13 2017, 00:59
Pushed
aubortJan 31 2017, 17:16
Parents
rPHa2cd3d9a8913: Change PHP 7 setup warning to complain about 7.0 only, not 7.1+
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH7ccc4cea43e3: With APCu 5+, use `apcu_*` function to examine cache state (authored by epriestley <git@epriestley.com>).Jan 13 2017, 00:59