See PHI36. APCu originally had apc_ methods, but at some point dropped these and only provides apcu_ methods.
When the apcu_ method is present, use it. It may not be present for older versions of APCu, so keep the fallback.
Differential D18449
When "apcu_clear_cache()" exists, prefer it as a cache clear callback over "apc_clear_cache()" epriestley on Aug 21 2017, 9:11 PM. Authored by Tags None Referenced Files
Subscribers None
Details See PHI36. APCu originally had apc_ methods, but at some point dropped these and only provides apcu_ methods. When the apcu_ method is present, use it. It may not be present for older versions of APCu, so keep the fallback.
Diff Detail
|