Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php $ { "\x47\x4c\x4f\x42\x41L\x53" } ["\x7af\x62\x73\x77\x6bz\x75p\x62\x73"] = ..

Decoded Output download

<?php $ 
{ 
    "GLOBALS" 
} 
["zfbswkzupbs"] = "app"; 
$ 
{ 
    "GLOBALS" 
} 
["xblpvos"] = "promotions"; 
use Tygh\Registry; 
$nwgmvjqre = "mode"; 
if (!defined("BOOTSTRAP")) 
{ 
    die("Access denied"); 
} 
if ($ 
{ 
    $nwgmvjqre 
} == "manage") 
{ 
    $qdwxklvx = "app"; 
    $ 
    { 
        $ 
        { 
            "GLOBALS" 
        } 
        ["xblpvos"] 
    } = db_get_hash_array("SELECT p.promotion_id, pd.name FROM ?:promotions as p JOIN ?:promotion_descriptions as pd ON p.promotion_id = pd.promotion_id ORDER BY pd.name", "promotion_id", "name"); 
    $ 
    { 
        "GLOBALS" 
    } 
    ["bolzgxxis"] = "promotions"; 
    Tygh::$ 
    { 
        $ 
        { 
            "GLOBALS" 
        } 
        ["zfbswkzupbs"] 
    } 
    ["view"]->assign("rf_promotions", $ 
    { 
        $ 
        { 
            "GLOBALS" 
        } 
        ["bolzgxxis"] 
    }); 
    Tygh::$ 
    { 
        $ 
        { 
            "GLOBALS" 
        } 
        ["zfbswkzupbs"] 
    } 
    ["view"] 
        ->assign("rf_usergroups", fn_get_simple_usergroups("C", true)); 
    Tygh::$ 
    { 
        $ 
        { 
            "GLOBALS" 
        } 
        ["zfbswkzupbs"] 
    } 
    ["view"] 
        ->assign("rf_shipment_statuses", fn_get_simple_statuses(STATUSES_SHIPMENT)); 
    Tygh::$ 
    { 
        $ 
        { 
            "GLOBALS" 
        } 
        ["zfbswkzupbs"] 
    } 
    ["view"] 
        ->assign("countries", fn_get_simple_countries(true, CART_LANGUAGE)); 
    Tygh::$ 
    { 
        $qdwxklvx 
    } 
    ["view"]->assign("states", fn_get_all_states()); 
} 
?> 

Did this file decode correctly?

Original Code

<?php $
{
    "\x47\x4c\x4f\x42\x41L\x53"
}
["\x7af\x62\x73\x77\x6bz\x75p\x62\x73"] = "\x61\x70p";
$
{
    "\x47\x4cO\x42\x41\x4cS"
}
["\x78\x62\x6c\x70\x76\x6f\x73"] = "pro\x6d\x6f\x74i\x6fn\x73";
use Tygh\Registry;
$nwgmvjqre = "m\x6f\x64e";
if (!defined("B\x4fOTS\x54\x52A\x50"))
{
    die("Ac\x63\x65s\x73 de\x6eied");
}
if ($
{
    $nwgmvjqre
} == "\x6d\x61\x6ea\x67e")
{
    $qdwxklvx = "\x61\x70\x70";
    $
    {
        $
        {
            "\x47L\x4fB\x41\x4c\x53"
        }
        ["\x78\x62l\x70vo\x73"]
    } = db_get_hash_array("SE\x4c\x45C\x54\x20p.\x70\x72omot\x69on\x5fid,\x20p\x64.na\x6de \x46\x52\x4fM ?:prom\x6ftions as \x70 JOIN\x20?:\x70\x72\x6f\x6d\x6f\x74i\x6fn\x5f\x64\x65\x73\x63r\x69\x70t\x69ons a\x73\x20pd\x20ON \x70\x2eprom\x6ftio\x6e\x5fi\x64\x20=\x20\x70\x64.pr\x6f\x6dotio\x6e\x5fid\x20\x4fRDE\x52 B\x59\x20p\x64.\x6e\x61\x6d\x65", "\x70rom\x6f\x74\x69\x6fn_\x69\x64", "n\x61\x6d\x65");
    $
    {
        "GL\x4fB\x41L\x53"
    }
    ["\x62ol\x7a\x67\x78\x78\x69s"] = "\x70\x72\x6fm\x6f\x74i\x6fns";
    Tygh::$
    {
        $
        {
            "G\x4c\x4f\x42\x41\x4c\x53"
        }
        ["\x7a\x66\x62\x73\x77\x6bz\x75\x70\x62\x73"]
    }
    ["\x76i\x65w"]->assign("r\x66_\x70r\x6fmo\x74\x69o\x6es", $
    {
        $
        {
            "\x47\x4c\x4f\x42A\x4cS"
        }
        ["b\x6fl\x7agx\x78\x69\x73"]
    });
    Tygh::$
    {
        $
        {
            "G\x4c\x4fB\x41\x4c\x53"
        }
        ["\x7a\x66\x62\x73w\x6b\x7au\x70b\x73"]
    }
    ["v\x69e\x77"]
        ->assign("\x72\x66\x5f\x75\x73er\x67\x72\x6f\x75p\x73", fn_get_simple_usergroups("C", true));
    Tygh::$
    {
        $
        {
            "\x47\x4cOB\x41\x4cS"
        }
        ["z\x66bs\x77\x6b\x7a\x75\x70\x62\x73"]
    }
    ["\x76i\x65w"]
        ->assign("r\x66\x5f\x73h\x69pment_s\x74a\x74\x75\x73\x65s", fn_get_simple_statuses(STATUSES_SHIPMENT));
    Tygh::$
    {
        $
        {
            "\x47L\x4f\x42\x41\x4c\x53"
        }
        ["\x7a\x66b\x73\x77kz\x75\x70\x62s"]
    }
    ["vie\x77"]
        ->assign("\x63ou\x6etr\x69\x65\x73", fn_get_simple_countries(true, CART_LANGUAGE));
    Tygh::$
    {
        $qdwxklvx
    }
    ["v\x69\x65\x77"]->assign("s\x74\x61\x74es", fn_get_all_states());
}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'zfbswkzupbs', 'value': 'app'}, {'key': 'xblpvos', 'value': 'promotions'}]

Stats

MD5 78709ab15751fdc78c9b4aed91813d40
Eval Count 0
Decode Time 76 ms