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 ${"GLOBALS"}["zfbswkzupbs"] = "app"; ${"GLOBALS"}["xblpvos"] = "promotions"; use..

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 ${"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());
}

Function Calls

None

Variables

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

Stats

MD5 d38492e811a62d7505740be0920aea1e
Eval Count 0
Decode Time 67 ms