Page MenuHomePhabricator

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

Authored by epriestley on Jan 12 2017, 11:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 24, 11:50 PM
Unknown Object (File)
Tue, Apr 23, 11:22 PM
Unknown Object (File)
Fri, Apr 19, 6:05 PM
Unknown Object (File)
Thu, Apr 11, 8:04 AM
Unknown Object (File)
Thu, Apr 4, 2:12 AM
Unknown Object (File)
Sun, Mar 31, 3:47 PM
Unknown Object (File)
Sat, Mar 30, 10:19 AM
Unknown Object (File)
Mar 25 2024, 10:06 AM
Subscribers
None

Details

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)

Diff Detail

Repository
rP Phabricator
Branch
seven3
Lint
Lint Errors
SeverityLocationCodeMessage
Errorsrc/applications/cache/spec/PhabricatorDataCacheSpec.php:86XHP45PHP Compatibility
Unit
Tests Passed
Build Status
Buildable 15239
Build 20035: Run Core Tests
Build 20034: arc lint + arc unit