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 2024-04-04 18:58:00              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 namespace NEv1n; use neV1n\iHib0\wpNKg; use DwYxf\iDKLF\IQBJK\zO1KU; use DWYxF\idKlF\IQbjK\G0ysu; class TWNXw { private $HrQM7; private $Qfl1B = []; private $o1FW_; public static function create(?callable $cqghE = null) : self { goto ES0UC; gw5ka: $ef8HT->push(ifN2Q::ZWp7k(), "prepare_body"); goto hdkt6; ux_2o: $ef8HT->push(IFn2q::u75Ic(), "http_errors"); goto N7II2; ES0UC: $ef8HT = new self($cqghE ?: U38no::AEId0()); goto ux_2o; KThRe: $ef8HT->push(iFn2Q::CXtz1(), "cookies"); goto gw5ka; N7II2: $ef8HT->push(IFN2q::jBfxv(), "allow_redirects"); goto KThRe; hdkt6: return $ef8HT; goto lqHhr; lqHhr: } public function __construct(?callable $cqghE = null) { $this->HrQM7 = $cqghE; } public function __invoke(zO1Ku $yQ8_y, array $c55pi) { $cqghE = $this->swzN3(); return $cqghE($yQ8_y, $c55pi); } public function __toString() { goto wtDNe; FXYks: $ef8HT[] = "0) Handler: " . $this->prHC1($this->HrQM7); goto QzM5D; Ch3FB: HfL0h: goto xXvyU; CIR91: foreach (\array_reverse($this->Qfl1B) as $GRfv9) { goto tLZmY; g8Gbd: ieQuB: goto w3S4o; tLZmY: ++$c12EI; goto KzLeN; WSbX6: $LWliD .= "Function: " . $this->PrHC1($GRfv9[0]); goto S86LS; S86LS: $viBw8 = "> {$LWliD}\xa{$viBw8}"; goto T767_; T767_: $ef8HT[] = $LWliD; goto g8Gbd; KzLeN: $LWliD = "{$c12EI}) Name: '{$GRfv9[1]}', "; goto WSbX6; w3S4o: } goto Ch3FB; wtDNe: $c12EI = 0; goto UtUdt; UtUdt: $ef8HT = []; goto m2ATZ; QzM5D: KzMSP: goto DXb6b; m2ATZ: if (!($this->HrQM7 !== null)) { goto KzMSP; } goto FXYks; DXb6b: $viBw8 = ''; goto CIR91; xuIZk: return $viBw8; goto XlMeM; xXvyU: foreach (\array_keys($ef8HT) as $JAFsm) { $viBw8 .= "< {$ef8HT[$JAFsm]}\xa"; G_8yj: } goto noCW0; noCW0: Tz7Ua: goto xuIZk; XlMeM: } public function nu5Ap(callable $cqghE) : void { $this->HrQM7 = $cqghE; $this->o1FW_ = null; } public function GLm9_() : bool { return $this->HrQM7 !== null; } public function unshift(callable $R45Wb, ?string $hPwau = null) : void { \array_unshift($this->Qfl1B, [$R45Wb, $hPwau]); $this->o1FW_ = null; } public function push(callable $R45Wb, string $hPwau = '') : void { $this->Qfl1B[] = [$R45Wb, $hPwau]; $this->o1FW_ = null; } public function W63md(string $e8NVs, callable $R45Wb, string $qmxNl = '') : void { $this->v3bLG($e8NVs, $qmxNl, $R45Wb, true); } public function JcjbO(string $e8NVs, callable $R45Wb, string $qmxNl = '') : void { $this->V3BLG($e8NVs, $qmxNl, $R45Wb, false); } public function I62VG($XaS5G) : void { goto vXM3Q; yaHTQ: PtoQO("guzzlehttp/guzzle", "7.4", "Not passing a callable or string to %s::%s() is deprecated and will cause an error in 8.0.", __CLASS__, __FUNCTION__); goto KmGeP; c1_T3: $JCk7y = \is_callable($XaS5G) ? 0 : 1; goto U0Ery; U0Ery: $this->Qfl1B = \array_values(\array_filter($this->Qfl1B, static function ($GRfv9) use($JCk7y, $XaS5G) { return $GRfv9[$JCk7y] !== $XaS5G; })); goto w4bzq; KmGeP: j47qf: goto H306A; vXM3Q: if (!(!is_string($XaS5G) && !is_callable($XaS5G))) { goto j47qf; } goto yaHTQ; H306A: $this->o1FW_ = null; goto c1_T3; w4bzq: } public function swzN3() : callable { goto eZw0F; tfK3x: return $this->o1FW_; goto aBW2z; wphUm: $this->o1FW_ = $Iwkrx; goto H1M0Q; H1M0Q: c9baI: goto tfK3x; nVFYJ: foreach (\array_reverse($this->Qfl1B) as $oP7G5) { $Iwkrx = $oP7G5[0]($Iwkrx); pwIns: } goto yVVBP; yVVBP: kr3Lg: goto wphUm; W11tW: throw new \LogicException("No handler has been specified"); goto zQ4Gy; zQ4Gy: AIuZh: goto nVFYJ; O19SY: if (!(($Iwkrx = $this->HrQM7) === null)) { goto AIuZh; } goto W11tW; eZw0F: if (!($this->o1FW_ === null)) { goto c9baI; } goto O19SY; aBW2z: } private function mZTAI(string $hPwau) : int { goto FY2h0; xPA97: MkHkT: goto rGuG4; FY2h0: foreach ($this->Qfl1B as $JAFsm => $PLq7y) { goto TFYsD; Q7Jas: SntSc: goto HaIiR; r7AhQ: return $JAFsm; goto Q7Jas; HaIiR: oELUo: goto qsmj6; TFYsD: if (!($PLq7y[1] === $hPwau)) { goto SntSc; } goto r7AhQ; qsmj6: } goto xPA97; rGuG4: throw new \InvalidArgumentException("Middleware not found: {$hPwau}"); goto rp1Vr; rp1Vr: } private function v3Blg(string $e8NVs, string $qmxNl, callable $R45Wb, bool $F5_Qs) : void { goto YVZGr; CsiW4: if ($F5_Qs) { goto uaoir; } goto uAqhI; GHtoO: aBiSU: goto VCLJc; nglwu: \array_unshift($this->Qfl1B, $GRfv9); goto Gw5me; WNLNl: b7RGy: goto nglwu; JpxWk: \array_splice($this->Qfl1B, $JCk7y, 1, $ngE9r); goto A2H31; Gw5me: DPzy6: goto o3pZR; YVZGr: $this->o1FW_ = null; goto nZ_Cf; nZ_Cf: $JCk7y = $this->mZtai($e8NVs); goto uQ78k; eN68Q: $ngE9r = [$this->Qfl1B[$JCk7y], $GRfv9]; goto JpxWk; NJqEN: $ngE9r = [$GRfv9, $this->Qfl1B[$JCk7y]]; goto D8xk7; uAqhI: if ($JCk7y === \count($this->Qfl1B) - 1) { goto FS4vg; } goto eN68Q; D8xk7: \array_splice($this->Qfl1B, $JCk7y, 1, $ngE9r); goto UFDht; iugk4: if ($JCk7y === 0) { goto b7RGy; } goto NJqEN; l3w0F: FS4vg: goto kauXt; A2H31: goto aBiSU; goto aOq3S; uQ78k: $GRfv9 = [$R45Wb, $qmxNl]; goto CsiW4; kauXt: $this->Qfl1B[] = $GRfv9; goto GHtoO; o3pZR: goto aBiSU; goto l3w0F; UFDht: goto DPzy6; goto WNLNl; aOq3S: uaoir: goto iugk4; VCLJc: } private function PRHc1($oP7G5) : string { goto pi8Gb; U8NMh: HZWT5: goto EJLAJ; ne3oO: return "callable({$oP7G5})"; goto U8NMh; EJLAJ: if (!\is_array($oP7G5)) { goto E1Q_K; } goto vsjKE; lQPjn: return "callable(" . \spl_object_hash($oP7G5) . ")"; goto cbNTU; pfNBy: E1Q_K: goto lQPjn; pi8Gb: if (!\is_string($oP7G5)) { goto HZWT5; } goto ne3oO; vsjKE: return \is_string($oP7G5[0]) ? "callable({$oP7G5[0]}::{$oP7G5[1]})" : "callable(['" . \get_class($oP7G5[0]) . "', '{$oP7G5[1]}'])"; goto pfNBy; cbNTU: } } ?>

Did this file decode correctly?

Original Code

<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  |
    |              on 2024-04-04 18:58:00              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 namespace NEv1n; use neV1n\iHib0\wpNKg; use DwYxf\iDKLF\IQBJK\zO1KU; use DWYxF\idKlF\IQbjK\G0ysu; class TWNXw { private $HrQM7; private $Qfl1B = []; private $o1FW_; public static function create(?callable $cqghE = null) : self { goto ES0UC; gw5ka: $ef8HT->push(ifN2Q::ZWp7k(), "\160\162\x65\160\x61\162\145\137\x62\157\144\171"); goto hdkt6; ux_2o: $ef8HT->push(IFn2q::u75Ic(), "\150\164\x74\160\137\x65\x72\x72\157\x72\x73"); goto N7II2; ES0UC: $ef8HT = new self($cqghE ?: U38no::AEId0()); goto ux_2o; KThRe: $ef8HT->push(iFn2Q::CXtz1(), "\x63\157\157\153\151\x65\x73"); goto gw5ka; N7II2: $ef8HT->push(IFN2q::jBfxv(), "\141\x6c\x6c\157\x77\x5f\x72\145\144\x69\x72\x65\143\164\x73"); goto KThRe; hdkt6: return $ef8HT; goto lqHhr; lqHhr: } public function __construct(?callable $cqghE = null) { $this->HrQM7 = $cqghE; } public function __invoke(zO1Ku $yQ8_y, array $c55pi) { $cqghE = $this->swzN3(); return $cqghE($yQ8_y, $c55pi); } public function __toString() { goto wtDNe; FXYks: $ef8HT[] = "\60\51\40\x48\x61\x6e\x64\154\145\162\x3a\40" . $this->prHC1($this->HrQM7); goto QzM5D; Ch3FB: HfL0h: goto xXvyU; CIR91: foreach (\array_reverse($this->Qfl1B) as $GRfv9) { goto tLZmY; g8Gbd: ieQuB: goto w3S4o; tLZmY: ++$c12EI; goto KzLeN; WSbX6: $LWliD .= "\x46\165\x6e\x63\x74\x69\157\x6e\72\x20" . $this->PrHC1($GRfv9[0]); goto S86LS; S86LS: $viBw8 = "\x3e\x20{$LWliD}\xa{$viBw8}"; goto T767_; T767_: $ef8HT[] = $LWliD; goto g8Gbd; KzLeN: $LWliD = "{$c12EI}\51\40\x4e\x61\x6d\145\x3a\x20\47{$GRfv9[1]}\x27\x2c\40"; goto WSbX6; w3S4o: } goto Ch3FB; wtDNe: $c12EI = 0; goto UtUdt; UtUdt: $ef8HT = []; goto m2ATZ; QzM5D: KzMSP: goto DXb6b; m2ATZ: if (!($this->HrQM7 !== null)) { goto KzMSP; } goto FXYks; DXb6b: $viBw8 = ''; goto CIR91; xuIZk: return $viBw8; goto XlMeM; xXvyU: foreach (\array_keys($ef8HT) as $JAFsm) { $viBw8 .= "\x3c\x20{$ef8HT[$JAFsm]}\xa"; G_8yj: } goto noCW0; noCW0: Tz7Ua: goto xuIZk; XlMeM: } public function nu5Ap(callable $cqghE) : void { $this->HrQM7 = $cqghE; $this->o1FW_ = null; } public function GLm9_() : bool { return $this->HrQM7 !== null; } public function unshift(callable $R45Wb, ?string $hPwau = null) : void { \array_unshift($this->Qfl1B, [$R45Wb, $hPwau]); $this->o1FW_ = null; } public function push(callable $R45Wb, string $hPwau = '') : void { $this->Qfl1B[] = [$R45Wb, $hPwau]; $this->o1FW_ = null; } public function W63md(string $e8NVs, callable $R45Wb, string $qmxNl = '') : void { $this->v3bLG($e8NVs, $qmxNl, $R45Wb, true); } public function JcjbO(string $e8NVs, callable $R45Wb, string $qmxNl = '') : void { $this->V3BLG($e8NVs, $qmxNl, $R45Wb, false); } public function I62VG($XaS5G) : void { goto vXM3Q; yaHTQ: PtoQO("\x67\x75\172\172\154\x65\x68\x74\164\160\x2f\x67\x75\172\x7a\x6c\145", "\x37\56\x34", "\116\157\164\x20\160\141\x73\x73\151\x6e\x67\x20\141\x20\143\x61\154\x6c\141\142\x6c\145\40\x6f\x72\40\163\x74\162\x69\x6e\147\x20\x74\157\40\45\x73\x3a\72\45\x73\x28\51\x20\x69\163\x20\x64\145\160\162\145\x63\x61\x74\x65\x64\x20\141\x6e\x64\x20\x77\151\154\154\40\143\x61\x75\x73\x65\x20\141\156\40\145\162\162\x6f\x72\x20\151\156\x20\x38\56\x30\x2e", __CLASS__, __FUNCTION__); goto KmGeP; c1_T3: $JCk7y = \is_callable($XaS5G) ? 0 : 1; goto U0Ery; U0Ery: $this->Qfl1B = \array_values(\array_filter($this->Qfl1B, static function ($GRfv9) use($JCk7y, $XaS5G) { return $GRfv9[$JCk7y] !== $XaS5G; })); goto w4bzq; KmGeP: j47qf: goto H306A; vXM3Q: if (!(!is_string($XaS5G) && !is_callable($XaS5G))) { goto j47qf; } goto yaHTQ; H306A: $this->o1FW_ = null; goto c1_T3; w4bzq: } public function swzN3() : callable { goto eZw0F; tfK3x: return $this->o1FW_; goto aBW2z; wphUm: $this->o1FW_ = $Iwkrx; goto H1M0Q; H1M0Q: c9baI: goto tfK3x; nVFYJ: foreach (\array_reverse($this->Qfl1B) as $oP7G5) { $Iwkrx = $oP7G5[0]($Iwkrx); pwIns: } goto yVVBP; yVVBP: kr3Lg: goto wphUm; W11tW: throw new \LogicException("\x4e\157\40\150\141\x6e\144\154\145\162\40\x68\x61\163\x20\142\145\145\x6e\40\x73\x70\x65\143\x69\146\151\x65\x64"); goto zQ4Gy; zQ4Gy: AIuZh: goto nVFYJ; O19SY: if (!(($Iwkrx = $this->HrQM7) === null)) { goto AIuZh; } goto W11tW; eZw0F: if (!($this->o1FW_ === null)) { goto c9baI; } goto O19SY; aBW2z: } private function mZTAI(string $hPwau) : int { goto FY2h0; xPA97: MkHkT: goto rGuG4; FY2h0: foreach ($this->Qfl1B as $JAFsm => $PLq7y) { goto TFYsD; Q7Jas: SntSc: goto HaIiR; r7AhQ: return $JAFsm; goto Q7Jas; HaIiR: oELUo: goto qsmj6; TFYsD: if (!($PLq7y[1] === $hPwau)) { goto SntSc; } goto r7AhQ; qsmj6: } goto xPA97; rGuG4: throw new \InvalidArgumentException("\115\x69\144\x64\154\145\167\141\162\x65\40\156\x6f\x74\x20\x66\157\165\x6e\x64\x3a\40{$hPwau}"); goto rp1Vr; rp1Vr: } private function v3Blg(string $e8NVs, string $qmxNl, callable $R45Wb, bool $F5_Qs) : void { goto YVZGr; CsiW4: if ($F5_Qs) { goto uaoir; } goto uAqhI; GHtoO: aBiSU: goto VCLJc; nglwu: \array_unshift($this->Qfl1B, $GRfv9); goto Gw5me; WNLNl: b7RGy: goto nglwu; JpxWk: \array_splice($this->Qfl1B, $JCk7y, 1, $ngE9r); goto A2H31; Gw5me: DPzy6: goto o3pZR; YVZGr: $this->o1FW_ = null; goto nZ_Cf; nZ_Cf: $JCk7y = $this->mZtai($e8NVs); goto uQ78k; eN68Q: $ngE9r = [$this->Qfl1B[$JCk7y], $GRfv9]; goto JpxWk; NJqEN: $ngE9r = [$GRfv9, $this->Qfl1B[$JCk7y]]; goto D8xk7; uAqhI: if ($JCk7y === \count($this->Qfl1B) - 1) { goto FS4vg; } goto eN68Q; D8xk7: \array_splice($this->Qfl1B, $JCk7y, 1, $ngE9r); goto UFDht; iugk4: if ($JCk7y === 0) { goto b7RGy; } goto NJqEN; l3w0F: FS4vg: goto kauXt; A2H31: goto aBiSU; goto aOq3S; uQ78k: $GRfv9 = [$R45Wb, $qmxNl]; goto CsiW4; kauXt: $this->Qfl1B[] = $GRfv9; goto GHtoO; o3pZR: goto aBiSU; goto l3w0F; UFDht: goto DPzy6; goto WNLNl; aOq3S: uaoir: goto iugk4; VCLJc: } private function PRHc1($oP7G5) : string { goto pi8Gb; U8NMh: HZWT5: goto EJLAJ; ne3oO: return "\143\141\154\154\141\142\x6c\145\50{$oP7G5}\x29"; goto U8NMh; EJLAJ: if (!\is_array($oP7G5)) { goto E1Q_K; } goto vsjKE; lQPjn: return "\x63\141\x6c\x6c\x61\142\154\x65\50" . \spl_object_hash($oP7G5) . "\51"; goto cbNTU; pfNBy: E1Q_K: goto lQPjn; pi8Gb: if (!\is_string($oP7G5)) { goto HZWT5; } goto ne3oO; vsjKE: return \is_string($oP7G5[0]) ? "\143\x61\x6c\154\x61\142\154\145\50{$oP7G5[0]}\72\72{$oP7G5[1]}\x29" : "\143\x61\154\x6c\141\142\154\145\50\133\x27" . \get_class($oP7G5[0]) . "\47\54\x20\47{$oP7G5[1]}\47\x5d\51"; goto pfNBy; cbNTU: } }

Function Calls

None

Variables

None

Stats

MD5 07aff0321f0a24af3bab80592df6c849
Eval Count 0
Decode Time 87 ms