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 declare (strict_types=1); namespace RLMSp\nxpBu; use function count; use function e..

Decoded Output download

<?php
 declare (strict_types=1); namespace RLMSp
xpBu; use function count; use function extension_loaded; use function function_exists; use function imagearc; use function imagecolorallocate; use function imagecopyresampled; use function imagecreatefromstring; use function imagecreatetruecolor; use function imagedestroy; use function imagefilledpolygon; use function imagefilledrectangle; use function imagejpeg; use function imageline; use function imagepng; use function imagestring; use function imagesx; use function imagesy; use const nPLr6; final class qIYDn { private $nYk_y; private function __construct($SIQRH) { $this->nYk_y = $SIQRH; } public function UA85P() { return $this->nYk_y; } public static function create(int $OcmoS, int $mWgo7, ?array $NMWc2 = null) : ?self { goto GL_P3; YVAGF: $SIQRH = imagecreatetruecolor($OcmoS, $mWgo7); goto JOndr; e8niv: return null; goto kU619; QYic3: YEh_x: goto gRRqF; DlG6o: IHZ5R: goto JDX11; B6kqi: return null; goto OF81I; Msjrq: imagedestroy($SIQRH); goto vNjsi; kU619: b_LPz: goto YVAGF; aQuGm: imagedestroy($SIQRH); goto B6kqi; vNjsi: return null; goto yPe0O; WMIxS: if (!($c85Wb === false)) { goto GclN2; } goto aQuGm; vwhDf: return null; goto QYic3; JOndr: if (!($SIQRH === false)) { goto YEh_x; } goto vwhDf; gRRqF: if (isset($NMWc2, $NMWc2["red"], $NMWc2["green"], $NMWc2["blue"])) { goto IHZ5R; } goto vBPtO; RCO0_: if (imagefilledrectangle($SIQRH, 0, 0, $OcmoS - 1, $mWgo7 - 1, $c85Wb)) { goto mMqSX; } goto Msjrq; OF81I: GclN2: goto RCO0_; vBPtO: return new msCQn($SIQRH); goto DlG6o; GL_P3: if (extension_loaded("gd")) { goto b_LPz; } goto e8niv; JDX11: $c85Wb = imagecolorallocate($SIQRH, $NMWc2["red"], $NMWc2["green"], $NMWc2["blue"]); goto WMIxS; hfP1X: return new mScQn($SIQRH); goto F2KIj; yPe0O: mMqSX: goto hfP1X; F2KIj: } public static function u3cP8(string $qcxj_) : ?self { goto lG4oZ; HWWlw: return null; goto T1EbG; dX3Ub: H6FGj: goto FgqQ6; lG4oZ: if (extension_loaded("gd")) { goto sW8Cr; } goto HWWlw; l021p: if (!($SIQRH === false)) { goto H6FGj; } goto rUPBv; FgqQ6: return new mScQN($SIQRH); goto KxPjU; T1EbG: sW8Cr: goto aMp4p; aMp4p: $SIQRH = imagecreatefromstring($qcxj_); goto l021p; rUPBv: return null; goto dX3Ub; KxPjU: } public function rhZBR(int $sq_fs, int $A9tdI, int $OcmoS, int $mWgo7, int $l9pa4, int $QU3zQ, int $c9KyU) : bool { return imagearc($this->nYk_y, $sq_fs, $A9tdI, $OcmoS, $mWgo7, $l9pa4, $QU3zQ, $c9KyU); } public function kjydU(int $ANC0v, int $c0zL_, int $WPKUV) { return imagecolorallocate($this->nYk_y, $ANC0v, $c0zL_, $WPKUV); } public function ifkIF(QIydN $GTSZj, int $HyG8d, int $XIdtH, int $u3_CI, int $iLibo, int $YzHyU, int $br5SL, int $XkSiW, int $mC_zT) : bool { return imagecopyresampled($this->nYk_y, $GTSZj->ua85p(), $HyG8d, $XIdtH, $u3_CI, $iLibo, $YzHyU, $br5SL, $XkSiW, $mC_zT); } public function destroy() : bool { goto MYuf2; MYuf2: if (!(PHP_VERSION_ID >= 80000)) { goto wAfcc; } goto QYRSb; QYRSb: return true; goto s91hS; s91hS: wAfcc: goto ulrds; ulrds: return imagedestroy($this->nYk_y); goto n5tew; n5tew: } public function Atf2i(array $r0h1F, int $c9KyU) : bool { goto Ags4s; Ags4s: if (!(PHP_VERSION_ID < 80000)) { goto RBm6w; } goto LRrxe; LRrxe: return imagefilledpolygon($this->nYk_y, $r0h1F, (int) (count($r0h1F) / 2), $c9KyU); goto dhxFR; raysb: return imagefilledpolygon($this->nYk_y, $r0h1F, $c9KyU); goto yyjzw; dhxFR: RBm6w: goto raysb; yyjzw: } public function wskMv() : int { return imagesy($this->nYk_y); } public function fQ_4I($gCmh2 = null, int $gFwGq = -1) : bool { if (!function_exists("imagejpeg")) { return false; } return imagejpeg($this->nYk_y, $gCmh2, $gFwGq); } public function u7V7T(int $T7gKO, int $Vf3ew, int $JamB1, int $RVgKD, int $c9KyU) : bool { return imageline($this->nYk_y, $T7gKO, $Vf3ew, $JamB1, $RVgKD, $c9KyU); } public function g1P1d($gCmh2 = null, int $gFwGq = -1, int $ca0aZ = -1) : bool { if (!function_exists("imagepng")) { return false; } return imagepng($this->nYk_y, $gCmh2, $gFwGq, $ca0aZ); } public function string(int $Dzm3_, int $LUTs2, int $WTvN8, string $Qdgqg, int $c9KyU) : bool { return imagestring($this->nYk_y, $Dzm3_, $LUTs2, $WTvN8, $Qdgqg, $c9KyU); } public function eG11p() : int { return imagesx($this->nYk_y); } } ?>

Did this file decode correctly?

Original Code

<?php
 declare (strict_types=1); namespace RLMSp\nxpBu; use function count; use function extension_loaded; use function function_exists; use function imagearc; use function imagecolorallocate; use function imagecopyresampled; use function imagecreatefromstring; use function imagecreatetruecolor; use function imagedestroy; use function imagefilledpolygon; use function imagefilledrectangle; use function imagejpeg; use function imageline; use function imagepng; use function imagestring; use function imagesx; use function imagesy; use const nPLr6; final class qIYDn { private $nYk_y; private function __construct($SIQRH) { $this->nYk_y = $SIQRH; } public function UA85P() { return $this->nYk_y; } public static function create(int $OcmoS, int $mWgo7, ?array $NMWc2 = null) : ?self { goto GL_P3; YVAGF: $SIQRH = imagecreatetruecolor($OcmoS, $mWgo7); goto JOndr; e8niv: return null; goto kU619; QYic3: YEh_x: goto gRRqF; DlG6o: IHZ5R: goto JDX11; B6kqi: return null; goto OF81I; Msjrq: imagedestroy($SIQRH); goto vNjsi; kU619: b_LPz: goto YVAGF; aQuGm: imagedestroy($SIQRH); goto B6kqi; vNjsi: return null; goto yPe0O; WMIxS: if (!($c85Wb === false)) { goto GclN2; } goto aQuGm; vwhDf: return null; goto QYic3; JOndr: if (!($SIQRH === false)) { goto YEh_x; } goto vwhDf; gRRqF: if (isset($NMWc2, $NMWc2["\162\x65\x64"], $NMWc2["\147\x72\145\x65\156"], $NMWc2["\x62\x6c\165\x65"])) { goto IHZ5R; } goto vBPtO; RCO0_: if (imagefilledrectangle($SIQRH, 0, 0, $OcmoS - 1, $mWgo7 - 1, $c85Wb)) { goto mMqSX; } goto Msjrq; OF81I: GclN2: goto RCO0_; vBPtO: return new msCQn($SIQRH); goto DlG6o; GL_P3: if (extension_loaded("\147\144")) { goto b_LPz; } goto e8niv; JDX11: $c85Wb = imagecolorallocate($SIQRH, $NMWc2["\162\145\144"], $NMWc2["\x67\162\145\145\156"], $NMWc2["\142\x6c\x75\x65"]); goto WMIxS; hfP1X: return new mScQn($SIQRH); goto F2KIj; yPe0O: mMqSX: goto hfP1X; F2KIj: } public static function u3cP8(string $qcxj_) : ?self { goto lG4oZ; HWWlw: return null; goto T1EbG; dX3Ub: H6FGj: goto FgqQ6; lG4oZ: if (extension_loaded("\x67\144")) { goto sW8Cr; } goto HWWlw; l021p: if (!($SIQRH === false)) { goto H6FGj; } goto rUPBv; FgqQ6: return new mScQN($SIQRH); goto KxPjU; T1EbG: sW8Cr: goto aMp4p; aMp4p: $SIQRH = imagecreatefromstring($qcxj_); goto l021p; rUPBv: return null; goto dX3Ub; KxPjU: } public function rhZBR(int $sq_fs, int $A9tdI, int $OcmoS, int $mWgo7, int $l9pa4, int $QU3zQ, int $c9KyU) : bool { return imagearc($this->nYk_y, $sq_fs, $A9tdI, $OcmoS, $mWgo7, $l9pa4, $QU3zQ, $c9KyU); } public function kjydU(int $ANC0v, int $c0zL_, int $WPKUV) { return imagecolorallocate($this->nYk_y, $ANC0v, $c0zL_, $WPKUV); } public function ifkIF(QIydN $GTSZj, int $HyG8d, int $XIdtH, int $u3_CI, int $iLibo, int $YzHyU, int $br5SL, int $XkSiW, int $mC_zT) : bool { return imagecopyresampled($this->nYk_y, $GTSZj->ua85p(), $HyG8d, $XIdtH, $u3_CI, $iLibo, $YzHyU, $br5SL, $XkSiW, $mC_zT); } public function destroy() : bool { goto MYuf2; MYuf2: if (!(PHP_VERSION_ID >= 80000)) { goto wAfcc; } goto QYRSb; QYRSb: return true; goto s91hS; s91hS: wAfcc: goto ulrds; ulrds: return imagedestroy($this->nYk_y); goto n5tew; n5tew: } public function Atf2i(array $r0h1F, int $c9KyU) : bool { goto Ags4s; Ags4s: if (!(PHP_VERSION_ID < 80000)) { goto RBm6w; } goto LRrxe; LRrxe: return imagefilledpolygon($this->nYk_y, $r0h1F, (int) (count($r0h1F) / 2), $c9KyU); goto dhxFR; raysb: return imagefilledpolygon($this->nYk_y, $r0h1F, $c9KyU); goto yyjzw; dhxFR: RBm6w: goto raysb; yyjzw: } public function wskMv() : int { return imagesy($this->nYk_y); } public function fQ_4I($gCmh2 = null, int $gFwGq = -1) : bool { if (!function_exists("\151\155\x61\147\145\152\x70\x65\x67")) { return false; } return imagejpeg($this->nYk_y, $gCmh2, $gFwGq); } public function u7V7T(int $T7gKO, int $Vf3ew, int $JamB1, int $RVgKD, int $c9KyU) : bool { return imageline($this->nYk_y, $T7gKO, $Vf3ew, $JamB1, $RVgKD, $c9KyU); } public function g1P1d($gCmh2 = null, int $gFwGq = -1, int $ca0aZ = -1) : bool { if (!function_exists("\x69\x6d\141\x67\x65\x70\156\147")) { return false; } return imagepng($this->nYk_y, $gCmh2, $gFwGq, $ca0aZ); } public function string(int $Dzm3_, int $LUTs2, int $WTvN8, string $Qdgqg, int $c9KyU) : bool { return imagestring($this->nYk_y, $Dzm3_, $LUTs2, $WTvN8, $Qdgqg, $c9KyU); } public function eG11p() : int { return imagesx($this->nYk_y); } }

Function Calls

None

Variables

None

Stats

MD5 921f43bd821e19bedbbf30aaa309f28c
Eval Count 0
Decode Time 67 ms