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

Signing you up...

Thank you for signing up!

PHP Decode

{ $projects = Project::orderBy("created_at", "\144\145\x73\x63")->withCount("\x..

Decoded Output download

<?  { 
 
        $projects = Project::orderBy("created_at", "desc")->withCount("blockUsers")->with(["employer", "employee", "services"])->withTrashed()->paginate(10); 
 
        C8b04e525a25ab02: 
        $skilll = []; 
 
        $A552018664f3c26a = []; 
 
        a6d42a49f8c28607: 
        return view("projects", ["projects" => $projects, "status" => $B50cdca561445afa, "employees" => $B5f4f8bf5845576b, "employers" => $bc7309ce539e2b94, "pj_skills" => $skilll, "mpaids" => $A552018664f3c26a, "skills" => $Ccd05f471104327b]); 
        goto Afe531a3fc17f640; 
        f5e4dbb3090fd021: 
        $B50cdca561445afa = []; 
        goto C8b04e525a25ab02; 
        D58daba0dd0c7408: 
        $B5f4f8bf5845576b = []; 
        goto a7c95ddb99756faf; 
        B3f394107400df3b: 
        foreach ($projects as $ad03089c1febfee3 => $afd51bdcde41f7b5) { 
            goto D8fb41393e1708ed; 
            bd8cd8bc95883eee: 
            $afd51bdcde41f7b5["sum_paid"] = $afd51bdcde41f7b5->transactions()->whereHas("employerTransaction", function ($F49964a0250e8406) { 
                $F49964a0250e8406->where("status", 2); 
            })->sum("amount"); 
            goto ba3f5dad84d63155; 
            f88ac405b87f1763: 
            $afd51bdcde41f7b5["bids"] = $afd51bdcde41f7b5->bids()->with("employee")->get(); 
            goto bd8cd8bc95883eee; 
            E23bd7a5444482a1: 
            $A552018664f3c26a[$ad03089c1febfee3] = $afd51bdcde41f7b5->getMPaid(); 
            goto f88ac405b87f1763; 
            e71cc3c993eaf0bf: 
            $skilll[$ad03089c1febfee3] = $afd51bdcde41f7b5->getSkill(); 
            goto E23bd7a5444482a1; 
            e66f91484d14b56e: 
            $B5f4f8bf5845576b[$ad03089c1febfee3] = $afd51bdcde41f7b5->getEmployee(); 
            goto db3c201dd59e8db6; 
            db3c201dd59e8db6: 
            $bc7309ce539e2b94[$ad03089c1febfee3] = $afd51bdcde41f7b5->getEmployer(); 
            goto e71cc3c993eaf0bf; 
            ba3f5dad84d63155: F03afffd363e49d1: 
            goto Bb215e040146aca2; 
            D8fb41393e1708ed: 
            $B50cdca561445afa[$ad03089c1febfee3] = $afd51bdcde41f7b5->getStatus(); 
            goto e66f91484d14b56e; 
            Bb215e040146aca2: 
        } 
        goto C378056ee20c5354; 
 
        goto D58daba0dd0c7408; 
        C378056ee20c5354: ff40c05882a195b1: 
        goto a6d42a49f8c28607; 
        Bc470b396cce8e7d: 
        $Ccd05f471104327b = Skill::all(); 
        goto B3f394107400df3b; 
        a7c95ddb99756faf: 
        $bc7309ce539e2b94 = []; 
        goto f5e4dbb3090fd021; 
 
        goto Bc470b396cce8e7d; 
        Afe531a3fc17f640: 
    } ?>

Did this file decode correctly?

Original Code

{

        $projects = Project::orderBy("created_at", "\144\145\x73\x63")->withCount("\x62\154\157\143\x6b\x55\x73\145\x72\163")->with(["\x65\155\x70\154\157\171\145\x72", "\x65\x6d\160\x6c\157\171\x65\145", "\x73\145\162\x76\x69\143\145\x73"])->withTrashed()->paginate(10);

        C8b04e525a25ab02:
        $skilll = [];

        $A552018664f3c26a = [];

        a6d42a49f8c28607:
        return view("\x70\162\157\x6a\x65\143\x74\x73", ["\x70\162\x6f\x6a\x65\x63\164\163" => $projects, "\x73\x74\x61\164\x75\x73" => $B50cdca561445afa, "\145\x6d\x70\154\157\x79\x65\145\x73" => $B5f4f8bf5845576b, "\x65\155\x70\x6c\157\171\x65\162\163" => $bc7309ce539e2b94, "\x70\x6a\x5f\163\x6b\151\154\154\163" => $skilll, "\155\x70\141\x69\144\x73" => $A552018664f3c26a, "\163\x6b\x69\x6c\x6c\x73" => $Ccd05f471104327b]);
        goto Afe531a3fc17f640;
        f5e4dbb3090fd021:
        $B50cdca561445afa = [];
        goto C8b04e525a25ab02;
        D58daba0dd0c7408:
        $B5f4f8bf5845576b = [];
        goto a7c95ddb99756faf;
        B3f394107400df3b:
        foreach ($projects as $ad03089c1febfee3 => $afd51bdcde41f7b5) {
            goto D8fb41393e1708ed;
            bd8cd8bc95883eee:
            $afd51bdcde41f7b5["\x73\x75\155\137\x70\141\x69\144"] = $afd51bdcde41f7b5->transactions()->whereHas("\145\155\x70\154\x6f\x79\145\x72\x54\x72\x61\x6e\x73\141\x63\164\x69\x6f\156", function ($F49964a0250e8406) {
                $F49964a0250e8406->where("\x73\x74\x61\164\165\x73", 2);
            })->sum("\141\155\x6f\x75\x6e\x74");
            goto ba3f5dad84d63155;
            f88ac405b87f1763:
            $afd51bdcde41f7b5["\x62\151\144\163"] = $afd51bdcde41f7b5->bids()->with("\x65\155\x70\x6c\x6f\171\145\x65")->get();
            goto bd8cd8bc95883eee;
            E23bd7a5444482a1:
            $A552018664f3c26a[$ad03089c1febfee3] = $afd51bdcde41f7b5->getMPaid();
            goto f88ac405b87f1763;
            e71cc3c993eaf0bf:
            $skilll[$ad03089c1febfee3] = $afd51bdcde41f7b5->getSkill();
            goto E23bd7a5444482a1;
            e66f91484d14b56e:
            $B5f4f8bf5845576b[$ad03089c1febfee3] = $afd51bdcde41f7b5->getEmployee();
            goto db3c201dd59e8db6;
            db3c201dd59e8db6:
            $bc7309ce539e2b94[$ad03089c1febfee3] = $afd51bdcde41f7b5->getEmployer();
            goto e71cc3c993eaf0bf;
            ba3f5dad84d63155: F03afffd363e49d1:
            goto Bb215e040146aca2;
            D8fb41393e1708ed:
            $B50cdca561445afa[$ad03089c1febfee3] = $afd51bdcde41f7b5->getStatus();
            goto e66f91484d14b56e;
            Bb215e040146aca2:
        }
        goto C378056ee20c5354;

        goto D58daba0dd0c7408;
        C378056ee20c5354: ff40c05882a195b1:
        goto a6d42a49f8c28607;
        Bc470b396cce8e7d:
        $Ccd05f471104327b = Skill::all();
        goto B3f394107400df3b;
        a7c95ddb99756faf:
        $bc7309ce539e2b94 = [];
        goto f5e4dbb3090fd021;

        goto Bc470b396cce8e7d;
        Afe531a3fc17f640:
    }

Function Calls

None

Variables

None

Stats

MD5 1a3a2ab18f9adf2c96df8239b1546a55
Eval Count 0
Decode Time 92 ms