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

Signing you up...

Thank you for signing up!

PHP Decode

function getProductName() { goto O22Zc; O22Zc: if (!isset($this..

Decoded Output download

<?  function getProductName() { 
        goto O22Zc; 
        O22Zc: 
        if (!isset($this->data["product_name"])) { 
            goto S1oor; 
        } 
        goto lbq1i; 
        lbq1i: 
        return $this->data["product_name"]; 
        goto r2VRk; 
        hFqWs: 
        return false; 
        goto Kea0y; 
        r2VRk: S1oor: 
        goto hFqWs; 
        Kea0y: 
    } 
 
    function setProductName($jb8fq) { 
        goto qRobP; 
        qRobP: 
        $jb8fq = trim($jb8fq); 
        goto I4E9a; 
        wX4Nv: 
        return true; 
        goto WUFEC; 
        BrV4h: 
        $this->data["product_name"] = $jb8fq; 
        goto wX4Nv; 
        WUFEC: tb8F1: 
        goto VVLqk; 
        I4E9a: 
        if (!$this->Validator->isLength("product_name", $jb8fq, TTi18n::gettext("Product Name is invalid"), 2, 250)) { 
            goto tb8F1; 
        } 
        goto BrV4h; 
        VVLqk: 
        return false; 
        goto iZbWP; 
        iZbWP: 
    } ?>

Did this file decode correctly?

Original Code

function getProductName() {
        goto O22Zc;
        O22Zc:
        if (!isset($this->data["\x70\x72\157\144\x75\x63\164\137\156\x61\x6d\145"])) {
            goto S1oor;
        }
        goto lbq1i;
        lbq1i:
        return $this->data["\160\x72\157\144\x75\x63\164\137\x6e\141\155\145"];
        goto r2VRk;
        hFqWs:
        return false;
        goto Kea0y;
        r2VRk: S1oor:
        goto hFqWs;
        Kea0y:
    }

    function setProductName($jb8fq) {
        goto qRobP;
        qRobP:
        $jb8fq = trim($jb8fq);
        goto I4E9a;
        wX4Nv:
        return true;
        goto WUFEC;
        BrV4h:
        $this->data["\x70\x72\157\x64\165\143\x74\x5f\x6e\x61\x6d\145"] = $jb8fq;
        goto wX4Nv;
        WUFEC: tb8F1:
        goto VVLqk;
        I4E9a:
        if (!$this->Validator->isLength("\160\162\157\x64\x75\x63\164\x5f\156\x61\155\x65", $jb8fq, TTi18n::gettext("\120\162\x6f\144\165\x63\x74\40\x4e\x61\155\145\x20\151\x73\40\x69\156\x76\x61\154\151\x64"), 2, 250)) {
            goto tb8F1;
        }
        goto BrV4h;
        VVLqk:
        return false;
        goto iZbWP;
        iZbWP:
    }

Function Calls

None

Variables

None

Stats

MD5 803e26e03b1cd8ca4987a87421e41e1e
Eval Count 0
Decode Time 35 ms