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 OneTeamSoftware\ShippingCarrier\ShipStation\En..
Decoded Output download
<?php
declare (strict_types=1); namespace OneTeamSoftware\ShippingCarrier\ShipStation\EndPoint; use OneTeamSoftware\ShippingCarrier\AbstractAdapter\EndPoint\AbstractEndPoint; use OneTeamSoftware\ShippingCarrier\ShipStation\Type\ApiKey; class GetCarriers extends AbstractEndPoint { public function canUse() : bool { return false === empty((new ApiKey($this->payload))->getApiKey()); } public function getMethod() : string { return "GET"; } public function getRoute() : string { return "carriers"; } public function getPostData() : array { return []; } public function getResponse(array $YuJyL) : array { $this->logger->debug(__FILE__, 70, "getResponse: %s", print_r($YuJyL, true)); $U0JvD = []; $U0JvD[$this->getResponseKey()] = $this->getValues($YuJyL); $this->logger->debug(__FILE__, 75, "New Response: %s", print_r($U0JvD, true)); return $U0JvD; } protected function getResponseKey() : string { return "carriers"; } protected function getValueKey(string $dVYoF) : string { return $dVYoF; } protected function getValues(array $YuJyL) : array { $GECZV = []; foreach ($YuJyL as $ilmCA) { if (isset($ilmCA["code"]) && isset($ilmCA["name"])) { $GECZV[$this->getValueKey($ilmCA["code"])] = $ilmCA["name"]; } vvi5r: } aNE7p: return $GECZV; } }
?>
Did this file decode correctly?
Original Code
<?php
declare (strict_types=1); namespace OneTeamSoftware\ShippingCarrier\ShipStation\EndPoint; use OneTeamSoftware\ShippingCarrier\AbstractAdapter\EndPoint\AbstractEndPoint; use OneTeamSoftware\ShippingCarrier\ShipStation\Type\ApiKey; class GetCarriers extends AbstractEndPoint { public function canUse() : bool { return false === empty((new ApiKey($this->payload))->getApiKey()); } public function getMethod() : string { return "\107\105\124"; } public function getRoute() : string { return "\x63\x61\x72\162\x69\x65\x72\x73"; } public function getPostData() : array { return []; } public function getResponse(array $YuJyL) : array { $this->logger->debug(__FILE__, 70, "\147\x65\x74\122\x65\x73\160\157\156\x73\x65\x3a\x20\x25\x73", print_r($YuJyL, true)); $U0JvD = []; $U0JvD[$this->getResponseKey()] = $this->getValues($YuJyL); $this->logger->debug(__FILE__, 75, "\x4e\145\x77\x20\x52\145\163\x70\157\156\163\x65\72\40\45\x73", print_r($U0JvD, true)); return $U0JvD; } protected function getResponseKey() : string { return "\x63\141\162\162\151\145\x72\x73"; } protected function getValueKey(string $dVYoF) : string { return $dVYoF; } protected function getValues(array $YuJyL) : array { $GECZV = []; foreach ($YuJyL as $ilmCA) { if (isset($ilmCA["\143\x6f\x64\x65"]) && isset($ilmCA["\x6e\x61\155\x65"])) { $GECZV[$this->getValueKey($ilmCA["\143\157\144\x65"])] = $ilmCA["\x6e\x61\x6d\x65"]; } vvi5r: } aNE7p: return $GECZV; } }
Function Calls
None |
Stats
MD5 | 2b5a25a33f002ce18e623ec8a76262f1 |
Eval Count | 0 |
Decode Time | 39 ms |