Page MenuHomePhabricator

In PhutilAPCKeyValueCache, use APCu functions on APCu 5+
ClosedPublic

Authored by epriestley on Jan 12 2017, 11:44 PM.
Tags
None
Referenced Files
F19096126: D17199.id.diff
Dec 4 2025, 8:04 AM
F19067760: D17199.id.diff
Nov 30 2025, 10:14 AM
F19060746: D17199.diff
Nov 29 2025, 10:13 AM
F19015499: D17199.id41352.diff
Nov 23 2025, 12:23 AM
F18995153: D17199.id41352.diff
Nov 19 2025, 3:57 PM
F18902688: D17199.id41359.diff
Nov 8 2025, 2:16 AM
F18902687: D17199.id41352.diff
Nov 8 2025, 2:16 AM
F18902686: D17199.id.diff
Nov 8 2025, 2:16 AM
Subscribers
None

Details

Summary

Ref T9640. Recent versions of APCu only define apcu_* functions.

Test Plan

See D17198, which has a screenshot of the cache full of data after this change.

Diff Detail

Repository
rPHU libphutil
Branch
seven4
Lint
Lint Errors
SeverityLocationCodeMessage
Errorsrc/cache/PhutilAPCKeyValueCache.php:29XHP45PHP Compatibility
Errorsrc/cache/PhutilAPCKeyValueCache.php:52XHP45PHP Compatibility
Errorsrc/cache/PhutilAPCKeyValueCache.php:69XHP45PHP Compatibility
Errorsrc/cache/PhutilAPCKeyValueCache.php:85XHP45PHP Compatibility
Unit
Tests Passed
Build Status
Buildable 15240
Build 20037: Run Core Tests
Build 20036: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jan 12 2017, 11:53 PM
This revision was automatically updated to reflect the committed changes.