HomePhabricator

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

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:

Screen Shot 2017-01-12 at 3.42.32 PM.png (1×2 px, 376 KB)

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9640

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

Details