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

Signing you up...

Thank you for signing up!

PHP Decode

public function createQueueNumber($id_siswa, $id_bank, $id_jadwal) { goto ZzUxC; r3g..

Decoded Output download

<?   
    public function createQueueNumber($id_siswa, $id_bank, $id_jadwal) { goto ZzUxC; r3gl1: t67_E: goto tWEVV; IU0kw: $num2 = isset($cek_soal["2"]) ? count($cek_soal["2"]) : 0; goto ea5So; FEYit: return []; goto K2IAJ; Jeqr0: $items = []; goto h5aXh; S72Yz: $ada2 = $num2 == (int) $jadwal->tampil_kompleks; goto DU2rr; Wi56y: $opsis = $jadwal->opsi; goto v_WCy; diwQg: yFrGO: goto gJ1Z7; de75O: foreach ($cek_soal as $jenis => $soals) { goto MCjAV; IHuiU: oygfc: goto qRawW; MCjAV: foreach ($soals as $soal) { goto ioYJV; NQ5Zo: $item_soal["opsi_alias_c"] = ''; goto Q1fzJ; AVCJ1: $item_soal["id_siswa"] = $id_siswa; goto KyOjz; bP2Xs: goto r82Qb; goto XfEAT; lMGDR: $item_soal["id_bank"] = $id_bank; goto h1Ti9; Y52wK: $item_soal["opsi_alias_d"] = isset($arrOpsi[3]) ? $arrOpsi[3] : ''; goto vN_m7; RJ0cR: $item_soal["soal_end"] = $j + 1 === count($arrNum) ? "1" : "0"; goto C8z3r; oMiC2: $item_soal["jawaban_benar"] = $soal->jawaban; goto RJ0cR; vz0dH: $item_soal["point_soal"] = $jadwal->bobot_jodohkan > 0 ? round($jadwal->bobot_jodohkan / $jadwal->tampil_jodohkan, 2) : 0; goto ucpDq; D6hhH: $item_soal["opsi_alias_a"] = "A"; goto odbPv; vIj8M: $item_soal["id_soal_siswa"] = $id_siswa . "0" . $id_jadwal . $id_bank . $arrNum[$j]; goto lMGDR; juabV: DElNv: goto vIj8M; f7bXo: $item_soal["point_soal"] = $jadwal->bobot_pg > 0 ? round($jadwal->bobot_pg / $jadwal->tampil_pg, 2) : 0; goto wRT0F; YCIsP: mSWRX: goto j4loO; cHPL3: $item_soal["opsi_alias_a"] = $arrOpsi[0]; goto wknkb; wlmZb: if ($jenis == "1") { goto F5NVt; } goto fIKCm; NpuWU: shuffle($arrOpsi); goto BVsgU; iVj6Z: r82Qb: goto oMiC2; rFz4K: $item_soal["id_soal"] = $soal->id_soal; goto AVCJ1; zHd23: $item_soal["point_soal"] = $jadwal->bobot_esai > 0 ? round($jadwal->bobot_esai / $jadwal->tampil_esai, 2) : 0; goto iVj6Z; OY28p: $item_soal["opsi_alias_c"] = isset($arrOpsi[2]) ? $arrOpsi[2] : ''; goto Y52wK; TNH76: diXCh: goto D6hhH; NkboY: hEgA5: goto eSEug; ucpDq: goto r82Qb; goto YCIsP; h1Ti9: $item_soal["id_jadwal"] = $id_jadwal; goto rFz4K; R1lMj: if ($jenis == "4") { goto mSWRX; } goto fflTD; JQ7Bs: $j++; goto NkboY; vN_m7: $item_soal["opsi_alias_e"] = isset($arrOpsi[4]) ? $arrOpsi[4] : ''; goto f7bXo; C8z3r: array_push($items, $item_soal); goto JQ7Bs; CSf0K: if (!($jadwal->acak_opsi == "1")) { goto zFSwT; } goto NpuWU; ejGlZ: aUQ9V: goto zHd23; wknkb: $item_soal["opsi_alias_b"] = $arrOpsi[1]; goto OY28p; usBWU: $item_soal["opsi_alias_e"] = ''; goto efrL1; odbPv: $item_soal["opsi_alias_b"] = ''; goto NQ5Zo; KyOjz: $item_soal["jenis_soal"] = $jenis; goto rSLwB; e7tLk: goto r82Qb; goto LHIUD; tLE2r: goto r82Qb; goto ejGlZ; ioYJV: if (!($jenis == "1")) { goto DElNv; } goto CSf0K; rSLwB: $item_soal["no_soal_alias"] = $arrNum[$j]; goto wlmZb; Q1fzJ: $item_soal["opsi_alias_d"] = ''; goto usBWU; X6b7x: if ($jenis == "3") { goto dGdzN; } goto R1lMj; XfEAT: dGdzN: goto vz0dH; j4loO: $item_soal["point_soal"] = $jadwal->bobot_isian > 0 ? round($jadwal->bobot_isian / $jadwal->tampil_isian, 2) : 0; goto tLE2r; LHIUD: F5NVt: goto cHPL3; fIKCm: if ($jenis == "2") { goto diXCh; } goto X6b7x; efrL1: $item_soal["point_soal"] = $jadwal->bobot_kompleks > 0 ? round($jadwal->bobot_kompleks / $jadwal->tampil_kompleks, 2) : 0; goto bP2Xs; fflTD: if ($jenis == "5") { goto aUQ9V; } goto e7tLk; BVsgU: zFSwT: goto juabV; wRT0F: goto r82Qb; goto TNH76; eSEug: } goto L7yku; L7yku: w9aJp: goto IHuiU; qRawW: } goto r3gl1; Rsxc0: return $items; goto diwQg; hdhUR: KwFtT: goto D2i6L; nmSYC: jrp8X: goto kwaxn; zWDZi: goto jrp8X; goto hdhUR; FlPj1: $ada5 = $num5 == (int) $jadwal->tampil_esai; goto K6MbP; D2i6L: $arrOpsi = ["A", "B", "C"]; goto egI7q; v9PjC: if (!($jadwal->acak_soal == "1")) { goto ZrDeL; } goto wdU0R; uRxVP: $num5 = isset($cek_soal["5"]) ? count($cek_soal["5"]) : 0; goto v9sY8; v_WCy: if ($opsis == "2") { goto p3Ysc; } goto gf3a6; y0Um7: $ada4 = $num4 == (int) $jadwal->tampil_isian; goto FlPj1; egI7q: goto jrp8X; goto zQKpC; rkKrT: goto jrp8X; goto eU8M6; DU2rr: $ada3 = $num3 == (int) $jadwal->tampil_jodohkan; goto y0Um7; fzPH3: $num1 = isset($cek_soal["1"]) ? count($cek_soal["1"]) : 0; goto IU0kw; eU8M6: p3Ysc: goto Bflcv; K2IAJ: goto yFrGO; goto ZGiPF; oB0C1: $cek_soal = $this->cbt->getAllIdSoal($id_bank); goto plxG3; K6MbP: if ($ada1 && $ada2 && $ada3 && $ada4 && $ada5) { goto hjaoi; } goto FEYit; ea5So: $num3 = isset($cek_soal["3"]) ? count($cek_soal["3"]) : 0; goto zdgSu; h5aXh: $j = 0; goto de75O; YBNQE: if ($opsis == "4") { goto DlBS4; } goto D_h7L; ZzUxC: $this->load->model("Cbt_model", "cbt"); goto oB0C1; v9sY8: $total = $num1 + $num2 + $num3 + $num4 + $num5; goto Gn7hy; ZGiPF: hjaoi: goto Wi56y; Gn7hy: $ada1 = $num1 == (int) $jadwal->tampil_pg; goto S72Yz; Bflcv: $arrOpsi = ["A", "B"]; goto zWDZi; zdgSu: $num4 = isset($cek_soal["4"]) ? count($cek_soal["4"]) : 0; goto uRxVP; OdDLL: ZrDeL: goto Jeqr0; tWEVV: usort($items, function ($a, $b) { return $a["no_soal_alias"] <=> $b["no_soal_alias"]; }); goto Rsxc0; gf3a6: if ($opsis == "3") { goto KwFtT; } goto YBNQE; plxG3: $jadwal = $this->cbt->getInfoJadwal($id_bank); goto fzPH3; k6mJB: $arrOpsi = ["A", "B", "C", "D"]; goto nmSYC; kwaxn: $arrNum = range(1, $total); goto v9PjC; D_h7L: $arrOpsi = ["A", "B", "C", "D", "E"]; goto rkKrT; wdU0R: shuffle($arrNum); goto OdDLL; zQKpC: DlBS4: goto k6mJB; gJ1Z7: }  
 
 ?>

Did this file decode correctly?

Original Code


    public function createQueueNumber($id_siswa, $id_bank, $id_jadwal) { goto ZzUxC; r3gl1: t67_E: goto tWEVV; IU0kw: $num2 = isset($cek_soal["\x32"]) ? count($cek_soal["\62"]) : 0; goto ea5So; FEYit: return []; goto K2IAJ; Jeqr0: $items = []; goto h5aXh; S72Yz: $ada2 = $num2 == (int) $jadwal->tampil_kompleks; goto DU2rr; Wi56y: $opsis = $jadwal->opsi; goto v_WCy; diwQg: yFrGO: goto gJ1Z7; de75O: foreach ($cek_soal as $jenis => $soals) { goto MCjAV; IHuiU: oygfc: goto qRawW; MCjAV: foreach ($soals as $soal) { goto ioYJV; NQ5Zo: $item_soal["\x6f\160\163\151\x5f\141\154\x69\141\x73\137\x63"] = ''; goto Q1fzJ; AVCJ1: $item_soal["\x69\144\x5f\163\151\163\x77\x61"] = $id_siswa; goto KyOjz; bP2Xs: goto r82Qb; goto XfEAT; lMGDR: $item_soal["\151\144\x5f\x62\x61\x6e\153"] = $id_bank; goto h1Ti9; Y52wK: $item_soal["\x6f\x70\x73\151\x5f\141\x6c\151\141\x73\x5f\144"] = isset($arrOpsi[3]) ? $arrOpsi[3] : ''; goto vN_m7; RJ0cR: $item_soal["\x73\157\x61\x6c\137\x65\x6e\144"] = $j + 1 === count($arrNum) ? "\61" : "\x30"; goto C8z3r; oMiC2: $item_soal["\x6a\x61\x77\141\x62\x61\156\x5f\x62\145\x6e\x61\162"] = $soal->jawaban; goto RJ0cR; vz0dH: $item_soal["\160\157\151\x6e\164\137\163\157\141\154"] = $jadwal->bobot_jodohkan > 0 ? round($jadwal->bobot_jodohkan / $jadwal->tampil_jodohkan, 2) : 0; goto ucpDq; D6hhH: $item_soal["\x6f\160\x73\x69\137\141\x6c\151\x61\163\137\141"] = "\101"; goto odbPv; vIj8M: $item_soal["\x69\x64\x5f\163\157\x61\x6c\x5f\163\x69\x73\167\141"] = $id_siswa . "\x30" . $id_jadwal . $id_bank . $arrNum[$j]; goto lMGDR; juabV: DElNv: goto vIj8M; f7bXo: $item_soal["\160\157\x69\x6e\164\x5f\x73\157\141\x6c"] = $jadwal->bobot_pg > 0 ? round($jadwal->bobot_pg / $jadwal->tampil_pg, 2) : 0; goto wRT0F; YCIsP: mSWRX: goto j4loO; cHPL3: $item_soal["\x6f\160\163\151\x5f\141\x6c\151\141\163\137\x61"] = $arrOpsi[0]; goto wknkb; wlmZb: if ($jenis == "\61") { goto F5NVt; } goto fIKCm; NpuWU: shuffle($arrOpsi); goto BVsgU; iVj6Z: r82Qb: goto oMiC2; rFz4K: $item_soal["\151\144\x5f\x73\157\x61\x6c"] = $soal->id_soal; goto AVCJ1; zHd23: $item_soal["\160\157\x69\x6e\164\x5f\x73\157\x61\154"] = $jadwal->bobot_esai > 0 ? round($jadwal->bobot_esai / $jadwal->tampil_esai, 2) : 0; goto iVj6Z; OY28p: $item_soal["\157\160\163\151\137\141\x6c\x69\x61\163\137\x63"] = isset($arrOpsi[2]) ? $arrOpsi[2] : ''; goto Y52wK; TNH76: diXCh: goto D6hhH; NkboY: hEgA5: goto eSEug; ucpDq: goto r82Qb; goto YCIsP; h1Ti9: $item_soal["\x69\x64\x5f\x6a\x61\144\x77\x61\x6c"] = $id_jadwal; goto rFz4K; R1lMj: if ($jenis == "\x34") { goto mSWRX; } goto fflTD; JQ7Bs: $j++; goto NkboY; vN_m7: $item_soal["\x6f\x70\x73\x69\x5f\x61\x6c\x69\141\163\137\x65"] = isset($arrOpsi[4]) ? $arrOpsi[4] : ''; goto f7bXo; C8z3r: array_push($items, $item_soal); goto JQ7Bs; CSf0K: if (!($jadwal->acak_opsi == "\61")) { goto zFSwT; } goto NpuWU; ejGlZ: aUQ9V: goto zHd23; wknkb: $item_soal["\x6f\x70\x73\151\x5f\x61\154\151\x61\163\137\142"] = $arrOpsi[1]; goto OY28p; usBWU: $item_soal["\157\x70\163\x69\137\x61\x6c\x69\141\x73\x5f\x65"] = ''; goto efrL1; odbPv: $item_soal["\157\x70\163\151\137\141\x6c\x69\141\163\x5f\x62"] = ''; goto NQ5Zo; KyOjz: $item_soal["\x6a\x65\x6e\151\163\137\163\157\x61\x6c"] = $jenis; goto rSLwB; e7tLk: goto r82Qb; goto LHIUD; tLE2r: goto r82Qb; goto ejGlZ; ioYJV: if (!($jenis == "\61")) { goto DElNv; } goto CSf0K; rSLwB: $item_soal["\156\157\x5f\163\x6f\x61\154\x5f\x61\x6c\151\141\163"] = $arrNum[$j]; goto wlmZb; Q1fzJ: $item_soal["\157\160\x73\151\x5f\141\154\x69\141\x73\x5f\x64"] = ''; goto usBWU; X6b7x: if ($jenis == "\x33") { goto dGdzN; } goto R1lMj; XfEAT: dGdzN: goto vz0dH; j4loO: $item_soal["\160\157\151\156\164\137\x73\157\x61\154"] = $jadwal->bobot_isian > 0 ? round($jadwal->bobot_isian / $jadwal->tampil_isian, 2) : 0; goto tLE2r; LHIUD: F5NVt: goto cHPL3; fIKCm: if ($jenis == "\62") { goto diXCh; } goto X6b7x; efrL1: $item_soal["\x70\x6f\151\x6e\x74\137\163\x6f\x61\154"] = $jadwal->bobot_kompleks > 0 ? round($jadwal->bobot_kompleks / $jadwal->tampil_kompleks, 2) : 0; goto bP2Xs; fflTD: if ($jenis == "\x35") { goto aUQ9V; } goto e7tLk; BVsgU: zFSwT: goto juabV; wRT0F: goto r82Qb; goto TNH76; eSEug: } goto L7yku; L7yku: w9aJp: goto IHuiU; qRawW: } goto r3gl1; Rsxc0: return $items; goto diwQg; hdhUR: KwFtT: goto D2i6L; nmSYC: jrp8X: goto kwaxn; zWDZi: goto jrp8X; goto hdhUR; FlPj1: $ada5 = $num5 == (int) $jadwal->tampil_esai; goto K6MbP; D2i6L: $arrOpsi = ["\101", "\102", "\103"]; goto egI7q; v9PjC: if (!($jadwal->acak_soal == "\x31")) { goto ZrDeL; } goto wdU0R; uRxVP: $num5 = isset($cek_soal["\x35"]) ? count($cek_soal["\65"]) : 0; goto v9sY8; v_WCy: if ($opsis == "\62") { goto p3Ysc; } goto gf3a6; y0Um7: $ada4 = $num4 == (int) $jadwal->tampil_isian; goto FlPj1; egI7q: goto jrp8X; goto zQKpC; rkKrT: goto jrp8X; goto eU8M6; DU2rr: $ada3 = $num3 == (int) $jadwal->tampil_jodohkan; goto y0Um7; fzPH3: $num1 = isset($cek_soal["\x31"]) ? count($cek_soal["\x31"]) : 0; goto IU0kw; eU8M6: p3Ysc: goto Bflcv; K2IAJ: goto yFrGO; goto ZGiPF; oB0C1: $cek_soal = $this->cbt->getAllIdSoal($id_bank); goto plxG3; K6MbP: if ($ada1 && $ada2 && $ada3 && $ada4 && $ada5) { goto hjaoi; } goto FEYit; ea5So: $num3 = isset($cek_soal["\63"]) ? count($cek_soal["\x33"]) : 0; goto zdgSu; h5aXh: $j = 0; goto de75O; YBNQE: if ($opsis == "\64") { goto DlBS4; } goto D_h7L; ZzUxC: $this->load->model("\x43\x62\x74\137\x6d\157\144\x65\154", "\x63\142\164"); goto oB0C1; v9sY8: $total = $num1 + $num2 + $num3 + $num4 + $num5; goto Gn7hy; ZGiPF: hjaoi: goto Wi56y; Gn7hy: $ada1 = $num1 == (int) $jadwal->tampil_pg; goto S72Yz; Bflcv: $arrOpsi = ["\101", "\x42"]; goto zWDZi; zdgSu: $num4 = isset($cek_soal["\64"]) ? count($cek_soal["\64"]) : 0; goto uRxVP; OdDLL: ZrDeL: goto Jeqr0; tWEVV: usort($items, function ($a, $b) { return $a["\x6e\157\x5f\x73\157\141\x6c\x5f\x61\154\x69\x61\163"] <=> $b["\156\157\137\x73\157\x61\x6c\x5f\141\154\x69\141\163"]; }); goto Rsxc0; gf3a6: if ($opsis == "\63") { goto KwFtT; } goto YBNQE; plxG3: $jadwal = $this->cbt->getInfoJadwal($id_bank); goto fzPH3; k6mJB: $arrOpsi = ["\x41", "\x42", "\103", "\104"]; goto nmSYC; kwaxn: $arrNum = range(1, $total); goto v9PjC; D_h7L: $arrOpsi = ["\101", "\102", "\103", "\104", "\x45"]; goto rkKrT; wdU0R: shuffle($arrNum); goto OdDLL; zQKpC: DlBS4: goto k6mJB; gJ1Z7: } 

Function Calls

None

Variables

None

Stats

MD5 89429a61ecff60add0870f13c5dc6ca8
Eval Count 0
Decode Time 65 ms