Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
defined("\101\102\x53\x50\101\124\110") || exit; class Object_Sync_Sf_WordPress_Transient..
Decoded Output download
<? defined("ABSPATH") || exit;
class Object_Sync_Sf_WordPress_Transient
{
public $name;
public $cache_prefix;
public function __construct($J5)
{
$this->name = $J5;
$this->cache_prefix = esc_sql("mo_sfwp_");
}
public function all_keys()
{
return get_transient($this->name);
}
public function set($ON, $mT, $GO = 0)
{
$HP = $this->cache_prefix;
$ON = $HP . $ON;
$RE = $this->all_keys();
$RE[] = $ON;
set_transient($this->name, $RE, $GO);
return set_transient($ON, $mT, $GO);
}
public function get($ON)
{
$HP = $this->cache_prefix;
$ON = $HP . $ON;
return get_transient($ON);
}
public function delete($ON)
{
$HP = $this->cache_prefix;
$ON = $HP . $ON;
return delete_transient($ON);
}
public function flush()
{
$RE = $this->all_keys();
$v1 = true;
$zX = 0;
if (empty($RE)) {
goto bf;
}
foreach ($RE as $Ac) {
$v1 = delete_transient($Ac);
$zX++;
VF:
}
A9:
bf:
$v1 = delete_transient($this->name);
if (!(true === $v1)) {
goto EE;
}
$zX++;
EE:
$FH = array();
$FH["success"] = $v1;
$FH["count"] = $zX;
return $FH;
}
} ?>
Did this file decode correctly?
Original Code
defined("\101\102\x53\x50\101\124\110") || exit;
class Object_Sync_Sf_WordPress_Transient
{
public $name;
public $cache_prefix;
public function __construct($J5)
{
$this->name = $J5;
$this->cache_prefix = esc_sql("\155\x6f\x5f\x73\x66\167\160\x5f");
}
public function all_keys()
{
return get_transient($this->name);
}
public function set($ON, $mT, $GO = 0)
{
$HP = $this->cache_prefix;
$ON = $HP . $ON;
$RE = $this->all_keys();
$RE[] = $ON;
set_transient($this->name, $RE, $GO);
return set_transient($ON, $mT, $GO);
}
public function get($ON)
{
$HP = $this->cache_prefix;
$ON = $HP . $ON;
return get_transient($ON);
}
public function delete($ON)
{
$HP = $this->cache_prefix;
$ON = $HP . $ON;
return delete_transient($ON);
}
public function flush()
{
$RE = $this->all_keys();
$v1 = true;
$zX = 0;
if (empty($RE)) {
goto bf;
}
foreach ($RE as $Ac) {
$v1 = delete_transient($Ac);
$zX++;
VF:
}
A9:
bf:
$v1 = delete_transient($this->name);
if (!(true === $v1)) {
goto EE;
}
$zX++;
EE:
$FH = array();
$FH["\x73\165\143\x63\x65\163\163"] = $v1;
$FH["\143\157\165\156\x74"] = $zX;
return $FH;
}
}
Function Calls
None |
Stats
MD5 | 04c0921ac3f1b85674fd4e2cb8ab6046 |
Eval Count | 0 |
Decode Time | 51 ms |