Page MenuHomePhabricator
Paste P3531

apcu_ for GlobalFunctions
ActivePublic

Authored by Reedy on Jul 20 2016, 11:29 PM.
Tags
None
Referenced Files
F4292957: apcu_ for GlobalFunctions
Jul 20 2016, 11:29 PM
Subscribers
None
if ( !function_exists( 'apcu_fetch') ) {
function apcu_fetch( $key, &$success = null ) {
return apc_fetch( $key, $success );
}
function apcu_store( $key, $var, $ttl = 0 ) {
return apc_store( $key, $var, $ttl );
}
function apcu_delete( $key ) {
return apc_delete( $key );
}
function apcu_inc( $key, $step = 1, &$success = null ) {
return apc_inc( $key, $step, $success );
}
function apcu_dec( $key, $step = 1, &$success = null ) {
return apc_dec( $key, $step, $success );
}
}

Event Timeline