Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P3531
apcu_ for GlobalFunctions
Active
Public
Actions
Authored by
Reedy
on Jul 20 2016, 11:29 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Tags
None
Referenced Files
F4292957: apcu_ for GlobalFunctions
Jul 20 2016, 11:29 PM
2016-07-20 23:29:56 (UTC+0)
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
Reedy
created this paste.
Jul 20 2016, 11:29 PM
2016-07-20 23:29:56 (UTC+0)
Reedy
mentioned this in
T140961: APCu support
.
Log In to Comment