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

Signing you up...

Thank you for signing up!

PHP Decode

goto OpzXy; EpibL: $showType = $params["\x73\150\157\167\x5f\164\x79\160..

Decoded Output download

<?  goto OpzXy; 
        EpibL: 
        $showType = $params["show_type"] ?? 1; 
        goto VyqPw; 
        gyEqq: 
        s9Nw7: 
        goto TRIb4; 
        KPHGm: 
        $limit = $params["limit"] ?? 15; 
        goto TRP7b; 
        UTKG8: 
        $returnData = ($returnData ?? []) + ["total_count" => $totalCount, "list" => $list, "follow_user_all" => $followUserAll ?? [], "project_all" => $projectAll ?? []]; 
        goto sXM9a; 
        xN9Aa: 
        try { 
            goto ThdCY; 
            ThdCY: 
            $query = static::listQuery($params); 
            goto vjdoV; 
            I7atR: 
            if (empty($list)) { 
                goto VcoqQ; 
            } 
            goto DTFCd; 
            k2xk7: 
            $culObjId = !empty($params["owner_cost_type_id"]) ? "finance_bill_item.id" : "finance_bill.id"; 
            goto AYnoU; 
            g_F9J: 
            S0Mck: 
            goto m7E3Q; 
            vLC5L: 
            ei7vs: 
            goto I7atR; 
            m7E3Q: 
            VcoqQ: 
            goto F1LfG; 
            WndIT: 
            $cloneQuery2 = clone $query; 
            goto k2xk7; 
            bCbDs: 
            $list = self::listMap($list, $params); 
            goto WZa4j; 
            vjdoV: 
            $cloneQuery = clone $query; 
            goto WndIT; 
            DTFCd: 
            if (!$getFollowUserAll) { 
                goto QSse5; 
            } 
            goto It_nV; 
            w28Oz: 
            QSse5: 
            goto TBa40; 
            TBa40: 
            if (!$getProjectAll) { 
                goto S0Mck; 
            } 
            goto UZZyD; 
            It_nV: 
            $followUserAll = self::listFollowUserAll($cloneQuery2); 
            goto w28Oz; 
            WZa4j: 
            if (!($showTop == 1)) { 
                goto ei7vs; 
            } 
            goto a2IEu; 
            a2IEu: 
            $returnData = static::billsTopInfo($params + ["project_ids" => $projectIds], $cloneQuery); 
            goto vLC5L; 
            AYnoU: 
            $totalCount = $query->count($culObjId); 
            goto g6itQ; 
            UZZyD: 
            $projectAll = self::listProjectAll($cloneQuery2); 
            goto g_F9J; 
            g6itQ: 
            $list = $query->groupBy($culObjId)->forPage($page, $limit)->get(); 
            goto bCbDs; 
            F1LfG: 
        } catch (Exception $e) { 
            goto qwS0N; 
            C0sx3: 
            $list = collect(); 
            goto fzCxP; 
            ZXnf_: 
            $totalCount = 0; 
            goto C0sx3; 
            qwS0N: 
            $returnData = ["top_info" => []]; 
            goto ZXnf_; 
            fzCxP: 
        } 
        goto UTKG8; 
        uwnaU: 
        $showTop = $params["show_top"] ?? 1; 
        goto EpibL; 
        iNXyW: 
        reGUl: 
        goto xN9Aa; 
        TRP7b: 
        $getFollowUserAll = $params["get_follow_user_all"] ?? 0; 
        goto WnkUz; 
        uf6lZ: 
        goto reGUl; 
        goto gyEqq; 
        UIfwq: 
        if ($showType == 1) { 
            goto s9Nw7; 
        } 
        goto NJMOG; 
        WnkUz: 
        $getProjectAll = $params["get_project_all"] ?? 0; 
        goto UIfwq; 
        TRIb4: 
        [$projectIds] = OwnerProjectServe::getPersonalSpaceId($ownerUserId); 
        goto iNXyW; 
        NJMOG: 
        $projectIds = []; 
        goto uf6lZ; 
        VyqPw: 
        $page = $params["page"] ?? 1; 
        goto KPHGm; 
        sXM9a: 
        return $returnData; 
        goto IULzl; 
        OpzXy: 
        $ownerUserId = $params["owner_user_id"] ?? 0; 
        goto uwnaU; 
        IULzl: ?>

Did this file decode correctly?

Original Code

goto OpzXy;
        EpibL:
        $showType = $params["\x73\150\157\167\x5f\164\x79\160\145"] ?? 1;
        goto VyqPw;
        gyEqq:
        s9Nw7:
        goto TRIb4;
        KPHGm:
        $limit = $params["\x6c\x69\x6d\x69\164"] ?? 15;
        goto TRP7b;
        UTKG8:
        $returnData = ($returnData ?? []) + ["\164\157\x74\x61\x6c\x5f\143\157\x75\x6e\x74" => $totalCount, "\x6c\151\x73\164" => $list, "\x66\x6f\154\x6c\157\167\137\165\163\145\162\x5f\x61\154\154" => $followUserAll ?? [], "\160\x72\x6f\152\x65\143\164\x5f\x61\154\154" => $projectAll ?? []];
        goto sXM9a;
        xN9Aa:
        try {
            goto ThdCY;
            ThdCY:
            $query = static::listQuery($params);
            goto vjdoV;
            I7atR:
            if (empty($list)) {
                goto VcoqQ;
            }
            goto DTFCd;
            k2xk7:
            $culObjId = !empty($params["\157\167\156\145\162\137\x63\x6f\163\164\137\164\x79\x70\145\x5f\151\x64"]) ? "\146\151\x6e\x61\x6e\143\145\x5f\x62\151\x6c\154\x5f\x69\x74\x65\155\56\151\144" : "\x66\x69\156\141\156\143\x65\137\142\x69\154\x6c\56\x69\144";
            goto AYnoU;
            g_F9J:
            S0Mck:
            goto m7E3Q;
            vLC5L:
            ei7vs:
            goto I7atR;
            m7E3Q:
            VcoqQ:
            goto F1LfG;
            WndIT:
            $cloneQuery2 = clone $query;
            goto k2xk7;
            bCbDs:
            $list = self::listMap($list, $params);
            goto WZa4j;
            vjdoV:
            $cloneQuery = clone $query;
            goto WndIT;
            DTFCd:
            if (!$getFollowUserAll) {
                goto QSse5;
            }
            goto It_nV;
            w28Oz:
            QSse5:
            goto TBa40;
            TBa40:
            if (!$getProjectAll) {
                goto S0Mck;
            }
            goto UZZyD;
            It_nV:
            $followUserAll = self::listFollowUserAll($cloneQuery2);
            goto w28Oz;
            WZa4j:
            if (!($showTop == 1)) {
                goto ei7vs;
            }
            goto a2IEu;
            a2IEu:
            $returnData = static::billsTopInfo($params + ["\x70\x72\157\x6a\x65\143\x74\137\x69\144\x73" => $projectIds], $cloneQuery);
            goto vLC5L;
            AYnoU:
            $totalCount = $query->count($culObjId);
            goto g6itQ;
            UZZyD:
            $projectAll = self::listProjectAll($cloneQuery2);
            goto g_F9J;
            g6itQ:
            $list = $query->groupBy($culObjId)->forPage($page, $limit)->get();
            goto bCbDs;
            F1LfG:
        } catch (Exception $e) {
            goto qwS0N;
            C0sx3:
            $list = collect();
            goto fzCxP;
            ZXnf_:
            $totalCount = 0;
            goto C0sx3;
            qwS0N:
            $returnData = ["\x74\x6f\x70\137\x69\x6e\x66\x6f" => []];
            goto ZXnf_;
            fzCxP:
        }
        goto UTKG8;
        uwnaU:
        $showTop = $params["\163\150\x6f\167\137\164\157\x70"] ?? 1;
        goto EpibL;
        iNXyW:
        reGUl:
        goto xN9Aa;
        TRP7b:
        $getFollowUserAll = $params["\x67\x65\164\x5f\146\157\154\154\x6f\167\x5f\x75\163\145\x72\x5f\x61\x6c\154"] ?? 0;
        goto WnkUz;
        uf6lZ:
        goto reGUl;
        goto gyEqq;
        UIfwq:
        if ($showType == 1) {
            goto s9Nw7;
        }
        goto NJMOG;
        WnkUz:
        $getProjectAll = $params["\147\145\x74\x5f\x70\x72\x6f\152\x65\x63\164\x5f\141\154\x6c"] ?? 0;
        goto UIfwq;
        TRIb4:
        [$projectIds] = OwnerProjectServe::getPersonalSpaceId($ownerUserId);
        goto iNXyW;
        NJMOG:
        $projectIds = [];
        goto uf6lZ;
        VyqPw:
        $page = $params["\x70\141\x67\x65"] ?? 1;
        goto KPHGm;
        sXM9a:
        return $returnData;
        goto IULzl;
        OpzXy:
        $ownerUserId = $params["\x6f\x77\x6e\x65\162\137\x75\163\145\x72\x5f\x69\x64"] ?? 0;
        goto uwnaU;
        IULzl:

Function Calls

None

Variables

None

Stats

MD5 f284fd1ddbe81d4fff2865e933cc2bce
Eval Count 0
Decode Time 49 ms