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 /* __________________________________________________ | Obfuscated by YAK Pro..
Decoded Output download
<?php
/* __________________________________________________
| Obfuscated by YAK Pro - Php Obfuscator 2.0.14 |
| on 2023-11-13 16:02:17 |
| GitHub: https://github.com/pk-fr/yakpro-po |
|__________________________________________________|
*/
declare (strict_types=1); namespace msYl_\JdW3H; use MSyL_\NB772\Ou338; class wR93C implements \IteratorAggregate, \Countable { public const ji7w_ = 0; public const BCz0n = 1; public const BWioS = 4; public $MPI3C = array(); protected static $ubgP7 = array(self::ji7w_ => "PACKAGE", self::BCz0n => "REQUEST", self::BWioS => "LEARNED"); protected $bvwZM; protected $TQ8oc = 0; protected $M11pe = array(); public function __construct() { foreach ($this->getTypes() as $tm5yD) { $this->bvwZM[$tm5yD] = array(); qsery: } CTX3r: } public function add(ezUSI $U54NA, $tm5yD) : void { goto TA8Ob; BAAdq: YIO3D: goto jNLAm; zTkPb: if (isset($this->bvwZM[$tm5yD])) { goto tJmcz; } goto A2v11; fY4yw: $U54NA->setType($tm5yD); goto wNJf2; atjSG: ppA1R: goto urX4H; gYm4M: co3ro: goto tgF2J; lkuOw: $this->M11pe[$OlELR] = array($MG5r1, $U54NA); goto yEqoT; Tgd7B: goto HefTC; goto gYm4M; YtDjj: if (\is_array($Qnpj3)) { goto VpNHQ; } goto mavfg; dT446: if (!isset($this->M11pe[$OlELR])) { goto A5ibm; } goto QAWQj; bhm3u: $this->MPI3C[$this->TQ8oc] = $U54NA; goto fY4yw; cSDql: if (\is_array($this->M11pe[$OlELR])) { goto co3ro; } goto HfAfP; urX4H: $OlELR = $U54NA->getHash(); goto dT446; uSXpe: OPNlj: goto myUGS; Iv237: tCdgH: goto IBqqs; tCwk2: return; goto BAAdq; A2v11: $this->bvwZM[$tm5yD] = array(); goto U8U7y; pvMdo: foreach ($Qnpj3 as $FKtzT) { goto HEyxQ; HEyxQ: if (!$U54NA->equals($FKtzT)) { goto DsD2R; } goto L9YCB; L9YCB: return; goto IMhwF; IMhwF: DsD2R: goto y19Ss; y19Ss: uS4lF: goto e0baQ; e0baQ: } goto xW5If; IBqqs: $this->M11pe[$OlELR] = $U54NA; goto Tgd7B; U8U7y: tJmcz: goto BbzBH; EHhih: if (!isset($this->M11pe[$OlELR])) { goto tCdgH; } goto cSDql; HfAfP: $MG5r1 = $this->M11pe[$OlELR]; goto lkuOw; yEqoT: goto HefTC; goto Iv237; QAWQj: $Qnpj3 = $this->M11pe[$OlELR]; goto YtDjj; jNLAm: goto OPNlj; goto iFUdx; TA8Ob: if (isset(self::$ubgP7[$tm5yD])) { goto ppA1R; } goto d_lje; mavfg: if (!$U54NA->equals($Qnpj3)) { goto YIO3D; } goto tCwk2; BbzBH: $this->bvwZM[$tm5yD][] = $U54NA; goto bhm3u; xW5If: Dn1Wv: goto uSXpe; iFUdx: VpNHQ: goto pvMdo; GFthy: HefTC: goto tDdfF; wNJf2: $this->TQ8oc++; goto EHhih; myUGS: A5ibm: goto zTkPb; tgF2J: $this->M11pe[$OlELR][] = $U54NA; goto GFthy; d_lje: throw new \OutOfBoundsException("Unknown rule type: " . $tm5yD); goto atjSG; tDdfF: } public function count() : int { return $this->TQ8oc; } public function eAeWy(int $oE0gB) : EzUSi { return $this->MPI3C[$oE0gB]; } public function getRules() : array { return $this->bvwZM; } public function getIterator() : yU7ir { return new yU7Ir($this->getRules()); } public function l6fuA($tPDE8) : yu7Ir { goto MzvKv; a84N0: $hCU6j = array(); goto GcRRt; MzvKv: if (\is_array($tPDE8)) { goto ZgxFP; } goto GumT_; Pd6hR: $zdJqV = $this->getRules(); goto a84N0; GcRRt: foreach ($tPDE8 as $tm5yD) { $hCU6j[$tm5yD] = $zdJqV[$tm5yD]; g0Zrj: } goto jvQbj; a2P7g: ZgxFP: goto Pd6hR; GumT_: $tPDE8 = array($tPDE8); goto a2P7g; rNW6e: return new YU7IR($hCU6j); goto P5fy3; jvQbj: N1A7Z: goto rNW6e; P5fy3: } public function VOT05($tPDE8) : yu7iR { goto vqXzh; EvY5c: return new yu7Ir($hCU6j); goto DTb2d; tWAhK: $hCU6j = $this->getRules(); goto zyiRh; Wt7tN: qTNHG: goto EvY5c; wnhpM: NHcLe: goto tWAhK; vqXzh: if (\is_array($tPDE8)) { goto NHcLe; } goto NoGsd; zyiRh: foreach ($tPDE8 as $tm5yD) { unset($hCU6j[$tm5yD]); KE0QY: } goto Wt7tN; NoGsd: $tPDE8 = array($tPDE8); goto wnhpM; DTb2d: } public function getTypes() : array { $tPDE8 = self::$ubgP7; return array_keys($tPDE8); } public function oeON2(oU338 $QjR4W = null, ISysX $xPjsa = null, tKcAN $ZqBR_ = null, bool $i9NZF = false) : string { goto QqsMf; O5zNQ: F7Iei: goto N4XNT; QqsMf: $X1wUI = "\xa"; goto UOX1e; N4XNT: return $X1wUI; goto Es1ty; UOX1e: foreach ($this->bvwZM as $tm5yD => $hCU6j) { goto xFvhw; JXH4j: foreach ($hCU6j as $U54NA) { $X1wUI .= ($QjR4W && $xPjsa && $ZqBR_ ? $U54NA->oeon2($QjR4W, $xPjsa, $ZqBR_, $i9NZF) : $U54NA) . "\xa"; Vvywy: } goto QGzb7; QGzb7: Ahv2h: goto Re37V; Re37V: $X1wUI .= "
\xa"; goto IDJRb; IDJRb: DPse0: goto uyKIG; xFvhw: $X1wUI .= str_pad(self::$ubgP7[$tm5yD], 8, " ") . ": "; goto JXH4j; uyKIG: } goto O5zNQ; Es1ty: } public function __toString() : string { return $this->oEoN2(); } } ?>
Did this file decode correctly?
Original Code
<?php
/* __________________________________________________
| Obfuscated by YAK Pro - Php Obfuscator 2.0.14 |
| on 2023-11-13 16:02:17 |
| GitHub: https://github.com/pk-fr/yakpro-po |
|__________________________________________________|
*/
declare (strict_types=1); namespace msYl_\JdW3H; use MSyL_\NB772\Ou338; class wR93C implements \IteratorAggregate, \Countable { public const ji7w_ = 0; public const BCz0n = 1; public const BWioS = 4; public $MPI3C = array(); protected static $ubgP7 = array(self::ji7w_ => "\120\101\103\x4b\101\107\105", self::BCz0n => "\122\105\x51\x55\105\x53\x54", self::BWioS => "\x4c\x45\101\x52\116\x45\x44"); protected $bvwZM; protected $TQ8oc = 0; protected $M11pe = array(); public function __construct() { foreach ($this->getTypes() as $tm5yD) { $this->bvwZM[$tm5yD] = array(); qsery: } CTX3r: } public function add(ezUSI $U54NA, $tm5yD) : void { goto TA8Ob; BAAdq: YIO3D: goto jNLAm; zTkPb: if (isset($this->bvwZM[$tm5yD])) { goto tJmcz; } goto A2v11; fY4yw: $U54NA->setType($tm5yD); goto wNJf2; atjSG: ppA1R: goto urX4H; gYm4M: co3ro: goto tgF2J; lkuOw: $this->M11pe[$OlELR] = array($MG5r1, $U54NA); goto yEqoT; Tgd7B: goto HefTC; goto gYm4M; YtDjj: if (\is_array($Qnpj3)) { goto VpNHQ; } goto mavfg; dT446: if (!isset($this->M11pe[$OlELR])) { goto A5ibm; } goto QAWQj; bhm3u: $this->MPI3C[$this->TQ8oc] = $U54NA; goto fY4yw; cSDql: if (\is_array($this->M11pe[$OlELR])) { goto co3ro; } goto HfAfP; urX4H: $OlELR = $U54NA->getHash(); goto dT446; uSXpe: OPNlj: goto myUGS; Iv237: tCdgH: goto IBqqs; tCwk2: return; goto BAAdq; A2v11: $this->bvwZM[$tm5yD] = array(); goto U8U7y; pvMdo: foreach ($Qnpj3 as $FKtzT) { goto HEyxQ; HEyxQ: if (!$U54NA->equals($FKtzT)) { goto DsD2R; } goto L9YCB; L9YCB: return; goto IMhwF; IMhwF: DsD2R: goto y19Ss; y19Ss: uS4lF: goto e0baQ; e0baQ: } goto xW5If; IBqqs: $this->M11pe[$OlELR] = $U54NA; goto Tgd7B; U8U7y: tJmcz: goto BbzBH; EHhih: if (!isset($this->M11pe[$OlELR])) { goto tCdgH; } goto cSDql; HfAfP: $MG5r1 = $this->M11pe[$OlELR]; goto lkuOw; yEqoT: goto HefTC; goto Iv237; QAWQj: $Qnpj3 = $this->M11pe[$OlELR]; goto YtDjj; jNLAm: goto OPNlj; goto iFUdx; TA8Ob: if (isset(self::$ubgP7[$tm5yD])) { goto ppA1R; } goto d_lje; mavfg: if (!$U54NA->equals($Qnpj3)) { goto YIO3D; } goto tCwk2; BbzBH: $this->bvwZM[$tm5yD][] = $U54NA; goto bhm3u; xW5If: Dn1Wv: goto uSXpe; iFUdx: VpNHQ: goto pvMdo; GFthy: HefTC: goto tDdfF; wNJf2: $this->TQ8oc++; goto EHhih; myUGS: A5ibm: goto zTkPb; tgF2J: $this->M11pe[$OlELR][] = $U54NA; goto GFthy; d_lje: throw new \OutOfBoundsException("\x55\x6e\x6b\x6e\157\x77\156\40\x72\x75\154\145\40\164\x79\x70\x65\x3a\x20" . $tm5yD); goto atjSG; tDdfF: } public function count() : int { return $this->TQ8oc; } public function eAeWy(int $oE0gB) : EzUSi { return $this->MPI3C[$oE0gB]; } public function getRules() : array { return $this->bvwZM; } public function getIterator() : yU7ir { return new yU7Ir($this->getRules()); } public function l6fuA($tPDE8) : yu7Ir { goto MzvKv; a84N0: $hCU6j = array(); goto GcRRt; MzvKv: if (\is_array($tPDE8)) { goto ZgxFP; } goto GumT_; Pd6hR: $zdJqV = $this->getRules(); goto a84N0; GcRRt: foreach ($tPDE8 as $tm5yD) { $hCU6j[$tm5yD] = $zdJqV[$tm5yD]; g0Zrj: } goto jvQbj; a2P7g: ZgxFP: goto Pd6hR; GumT_: $tPDE8 = array($tPDE8); goto a2P7g; rNW6e: return new YU7IR($hCU6j); goto P5fy3; jvQbj: N1A7Z: goto rNW6e; P5fy3: } public function VOT05($tPDE8) : yu7iR { goto vqXzh; EvY5c: return new yu7Ir($hCU6j); goto DTb2d; tWAhK: $hCU6j = $this->getRules(); goto zyiRh; Wt7tN: qTNHG: goto EvY5c; wnhpM: NHcLe: goto tWAhK; vqXzh: if (\is_array($tPDE8)) { goto NHcLe; } goto NoGsd; zyiRh: foreach ($tPDE8 as $tm5yD) { unset($hCU6j[$tm5yD]); KE0QY: } goto Wt7tN; NoGsd: $tPDE8 = array($tPDE8); goto wnhpM; DTb2d: } public function getTypes() : array { $tPDE8 = self::$ubgP7; return array_keys($tPDE8); } public function oeON2(oU338 $QjR4W = null, ISysX $xPjsa = null, tKcAN $ZqBR_ = null, bool $i9NZF = false) : string { goto QqsMf; O5zNQ: F7Iei: goto N4XNT; QqsMf: $X1wUI = "\xa"; goto UOX1e; N4XNT: return $X1wUI; goto Es1ty; UOX1e: foreach ($this->bvwZM as $tm5yD => $hCU6j) { goto xFvhw; JXH4j: foreach ($hCU6j as $U54NA) { $X1wUI .= ($QjR4W && $xPjsa && $ZqBR_ ? $U54NA->oeon2($QjR4W, $xPjsa, $ZqBR_, $i9NZF) : $U54NA) . "\xa"; Vvywy: } goto QGzb7; QGzb7: Ahv2h: goto Re37V; Re37V: $X1wUI .= "\12\xa"; goto IDJRb; IDJRb: DPse0: goto uyKIG; xFvhw: $X1wUI .= str_pad(self::$ubgP7[$tm5yD], 8, "\40") . "\x3a\40"; goto JXH4j; uyKIG: } goto O5zNQ; Es1ty: } public function __toString() : string { return $this->oEoN2(); } }
Function Calls
None |
Stats
MD5 | 6394a56662d5e201af014f3ea49e7b0d |
Eval Count | 0 |
Decode Time | 39 ms |