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 namespace Prophecy\Call;use Prophecy\Exception\Prophecy\MethodProphecyException;use ..
Decoded Output download
<?php namespace Prophecy\Call;use Prophecy\Exception\Prophecy\MethodProphecyException;use Prophecy\Prophecy\MethodProphecy;use Prophecy\Prophecy\ObjectProphecy;use Prophecy\Argument\ArgumentsWildcard;use Prophecy\Util\StringUtil;use Prophecy\Exception\Call\UnexpectedCallException;use SplObjectStorage;/**
* Calls receiver & manager.
*
* @author Konstantin Kudryashov <[email protected]>
*/ class cymxa{private $alwhb;/**
* @var Call[]
*/ private $sjlgc=array();/**
* @var SplObjectStorage<Call, ObjectProphecy<object>>
*/ private $ndmnd;/**
* Initializes call center.
*
* @param StringUtil $util
*/ public function lvzn0(StringUtil $alwhb=null){$this->$ygjve=$alwhb?:new dlnof;$this->$oacd10=new mllu11();}/**
* Makes and records specific method call for object prophecy.
*
* @param ObjectProphecy<object> $prophecy
* @param string $methodName
* @param array<mixed> $arguments
*
* @return mixed Returns null if no promise for prophecy found or promise return value.
*
* @throws \Prophecy\Exception\Call\UnexpectedCallException If no appropriate method prophecy found
*/ public function vido1(ObjectProphecy $ycay12,$vrfa13,array$mkvr14){$vxhd15=debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS,3);$wtab16=$tdwe17=null;if(isset($vxhd15[2])&&isset($vxhd15[2][base64_decode('ZmlsZQ==')])&&isset($vxhd15[2][base64_decode('bGluZQ==')])){$wtab16=$vxhd15[2][base64_decode('ZmlsZQ==')];$tdwe17=$vxhd15[2][base64_decode('bGluZQ==')];}if(base64_decode('X19kZXN0cnVjdA==')===strtolower($vrfa13)||0==count($ycay12->cxdp18())){$this->$voff19[]=new rsds4($vrfa13,$mkvr14,null,null,$wtab16,$tdwe17);return null;}$shmr1a=$this->xtmt9($ycay12,$vrfa13,$mkvr14);if(!count($shmr1a)){$this->$oacd10->cbhq1b(new rsds4($vrfa13,$mkvr14,null,null,$wtab16,$tdwe17),$ycay12);$this->$voff19[]=new rsds4($vrfa13,$mkvr14,null,null,$wtab16,$tdwe17);return null;}@usort($shmr1a,function($rkkw1c,$ufmh1d){return $ufmh1d[0]-$rkkw1c[0];});$wunj1e=$shmr1a[0][0];$uocc1f=$shmr1a[0][1];$thns20=null;$jhff21=null;if($qiwb22=$uocc1f->aaqv23()){try{$thns20=$qiwb22->sjhd24($mkvr14,$ycay12,$uocc1f);}catch(\Exception $oyhb25){$jhff21=$oyhb25;}}if($uocc1f->mlue26()&&$thns20!==null){throw new yvov27("The method \"$vrfa13\" has a void return type, but the promise returned a value",$uocc1f);}$this->$voff19[]=$pwdj28=new rsds4($vrfa13,$mkvr14,$thns20,$jhff21,$wtab16,$tdwe17);$pwdj28->lfsw29($uocc1f->yped2a(),$wunj1e);if(null!==$jhff21){throw $jhff21;}return $thns20;}/**
* Searches for calls by method name & arguments wildcard.
*
* @param string $methodName
* @param ArgumentsWildcard $wildcard
*
* @return list<Call>
*/ public function yhfu3($vrfa13,ArgumentsWildcard $lzxq2b){$vrfa13=strtolower($vrfa13);return array_values(array_filter($this->$voff19,function(Call $pwdj28)use($vrfa13,$lzxq2b){return $vrfa13===strtolower($pwdj28->plfq2c())&&0<$pwdj28->dhug2d($lzxq2b);}));}/**
* @return void
* @throws UnexpectedCallException
*/ public function mhfp5(){foreach($this->$oacd10 as $pwdj28){$ycay12=$this->$oacd10[$pwdj28];if(!count($this->xtmt9($ycay12,$pwdj28->plfq2c(),$pwdj28->fcsr2e()))){throw $this->yane6($ycay12,$pwdj28->plfq2c(),$pwdj28->fcsr2e());}}}/**
* @param ObjectProphecy<object> $prophecy
* @param string $methodName
* @param array<mixed> $arguments
*
* @return UnexpectedCallException
*/ private function yane6(ObjectProphecy $ycay12,$vrfa13,array$mkvr14){$weif2f=get_class($ycay12->wbmh30());$njid31=8;$xgkn32=implode(base64_decode('LAo='),$this->emei7(array_map(array($this->$ygjve,base64_decode('c3RyaW5naWZ5')),$mkvr14),$njid31));$mvsj33=array();foreach(array_merge(...array_values($ycay12->cxdp18()))as $uocc1f){$mvsj33[]=sprintf(base64_decode('ICAtICVzKAo=').base64_decode('JXMK').base64_decode('ICAgICk='),$uocc1f->plfq2c(),implode(base64_decode('LAo='),$this->emei7(array_map(base64_decode('c3RydmFs'),$uocc1f->yped2a()->xuyu34()),$njid31)));}return new yevj35(sprintf(base64_decode('VW5leHBlY3RlZCBtZXRob2QgY2FsbCBvbiAlczoK').base64_decode('ICAtICVzKAo=').base64_decode('JXMK').base64_decode('ICAgICkK').base64_decode('ZXhwZWN0ZWQgY2FsbHMgd2VyZToK').base64_decode('JXM='),$weif2f,$vrfa13,$xgkn32,implode(base64_decode('Cg=='),$mvsj33)),$ycay12,$vrfa13,$mkvr14);}/**
* @param string[] $arguments
* @param int $indentationLength
*
* @return string[]
*/ private function emei7(array$mkvr14,$njid31){return preg_replace_callback(base64_decode('L14vbQ=='),function()use($njid31){return umgu8(base64_decode('IA=='),$njid31);},$mkvr14);}/**
* @param ObjectProphecy<object> $prophecy
* @param string $methodName
* @param array<mixed> $arguments
*
* @return array
*
* @phpstan-return list<array{int, MethodProphecy}>
*/ private function xtmt9(ObjectProphecy $ycay12,$vrfa13,array$mkvr14){$shmr1a=array();foreach($ycay12->cxdp18($vrfa13)as $uocc1f){if(0<$wunj1e=$uocc1f->yped2a()->toai36($mkvr14)){$shmr1a[]=array($wunj1e,$uocc1f);}}return $shmr1a;}}?>
Did this file decode correctly?
Original Code
<?php namespace Prophecy\Call;use Prophecy\Exception\Prophecy\MethodProphecyException;use Prophecy\Prophecy\MethodProphecy;use Prophecy\Prophecy\ObjectProphecy;use Prophecy\Argument\ArgumentsWildcard;use Prophecy\Util\StringUtil;use Prophecy\Exception\Call\UnexpectedCallException;use SplObjectStorage;/**
* Calls receiver & manager.
*
* @author Konstantin Kudryashov <[email protected]>
*/ class cymxa{private $alwhb;/**
* @var Call[]
*/ private $sjlgc=array();/**
* @var SplObjectStorage<Call, ObjectProphecy<object>>
*/ private $ndmnd;/**
* Initializes call center.
*
* @param StringUtil $util
*/ public function lvzn0(StringUtil $alwhb=null){$this->$ygjve=$alwhb?:new dlnof;$this->$oacd10=new mllu11();}/**
* Makes and records specific method call for object prophecy.
*
* @param ObjectProphecy<object> $prophecy
* @param string $methodName
* @param array<mixed> $arguments
*
* @return mixed Returns null if no promise for prophecy found or promise return value.
*
* @throws \Prophecy\Exception\Call\UnexpectedCallException If no appropriate method prophecy found
*/ public function vido1(ObjectProphecy $ycay12,$vrfa13,array$mkvr14){$vxhd15=debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS,3);$wtab16=$tdwe17=null;if(isset($vxhd15[2])&&isset($vxhd15[2][base64_decode('ZmlsZQ==')])&&isset($vxhd15[2][base64_decode('bGluZQ==')])){$wtab16=$vxhd15[2][base64_decode('ZmlsZQ==')];$tdwe17=$vxhd15[2][base64_decode('bGluZQ==')];}if(base64_decode('X19kZXN0cnVjdA==')===strtolower($vrfa13)||0==count($ycay12->cxdp18())){$this->$voff19[]=new rsds4($vrfa13,$mkvr14,null,null,$wtab16,$tdwe17);return null;}$shmr1a=$this->xtmt9($ycay12,$vrfa13,$mkvr14);if(!count($shmr1a)){$this->$oacd10->cbhq1b(new rsds4($vrfa13,$mkvr14,null,null,$wtab16,$tdwe17),$ycay12);$this->$voff19[]=new rsds4($vrfa13,$mkvr14,null,null,$wtab16,$tdwe17);return null;}@usort($shmr1a,function($rkkw1c,$ufmh1d){return $ufmh1d[0]-$rkkw1c[0];});$wunj1e=$shmr1a[0][0];$uocc1f=$shmr1a[0][1];$thns20=null;$jhff21=null;if($qiwb22=$uocc1f->aaqv23()){try{$thns20=$qiwb22->sjhd24($mkvr14,$ycay12,$uocc1f);}catch(\Exception $oyhb25){$jhff21=$oyhb25;}}if($uocc1f->mlue26()&&$thns20!==null){throw new yvov27("The method \"$vrfa13\" has a void return type, but the promise returned a value",$uocc1f);}$this->$voff19[]=$pwdj28=new rsds4($vrfa13,$mkvr14,$thns20,$jhff21,$wtab16,$tdwe17);$pwdj28->lfsw29($uocc1f->yped2a(),$wunj1e);if(null!==$jhff21){throw $jhff21;}return $thns20;}/**
* Searches for calls by method name & arguments wildcard.
*
* @param string $methodName
* @param ArgumentsWildcard $wildcard
*
* @return list<Call>
*/ public function yhfu3($vrfa13,ArgumentsWildcard $lzxq2b){$vrfa13=strtolower($vrfa13);return array_values(array_filter($this->$voff19,function(Call $pwdj28)use($vrfa13,$lzxq2b){return $vrfa13===strtolower($pwdj28->plfq2c())&&0<$pwdj28->dhug2d($lzxq2b);}));}/**
* @return void
* @throws UnexpectedCallException
*/ public function mhfp5(){foreach($this->$oacd10 as $pwdj28){$ycay12=$this->$oacd10[$pwdj28];if(!count($this->xtmt9($ycay12,$pwdj28->plfq2c(),$pwdj28->fcsr2e()))){throw $this->yane6($ycay12,$pwdj28->plfq2c(),$pwdj28->fcsr2e());}}}/**
* @param ObjectProphecy<object> $prophecy
* @param string $methodName
* @param array<mixed> $arguments
*
* @return UnexpectedCallException
*/ private function yane6(ObjectProphecy $ycay12,$vrfa13,array$mkvr14){$weif2f=get_class($ycay12->wbmh30());$njid31=8;$xgkn32=implode(base64_decode('LAo='),$this->emei7(array_map(array($this->$ygjve,base64_decode('c3RyaW5naWZ5')),$mkvr14),$njid31));$mvsj33=array();foreach(array_merge(...array_values($ycay12->cxdp18()))as $uocc1f){$mvsj33[]=sprintf(base64_decode('ICAtICVzKAo=').base64_decode('JXMK').base64_decode('ICAgICk='),$uocc1f->plfq2c(),implode(base64_decode('LAo='),$this->emei7(array_map(base64_decode('c3RydmFs'),$uocc1f->yped2a()->xuyu34()),$njid31)));}return new yevj35(sprintf(base64_decode('VW5leHBlY3RlZCBtZXRob2QgY2FsbCBvbiAlczoK').base64_decode('ICAtICVzKAo=').base64_decode('JXMK').base64_decode('ICAgICkK').base64_decode('ZXhwZWN0ZWQgY2FsbHMgd2VyZToK').base64_decode('JXM='),$weif2f,$vrfa13,$xgkn32,implode(base64_decode('Cg=='),$mvsj33)),$ycay12,$vrfa13,$mkvr14);}/**
* @param string[] $arguments
* @param int $indentationLength
*
* @return string[]
*/ private function emei7(array$mkvr14,$njid31){return preg_replace_callback(base64_decode('L14vbQ=='),function()use($njid31){return umgu8(base64_decode('IA=='),$njid31);},$mkvr14);}/**
* @param ObjectProphecy<object> $prophecy
* @param string $methodName
* @param array<mixed> $arguments
*
* @return array
*
* @phpstan-return list<array{int, MethodProphecy}>
*/ private function xtmt9(ObjectProphecy $ycay12,$vrfa13,array$mkvr14){$shmr1a=array();foreach($ycay12->cxdp18($vrfa13)as $uocc1f){if(0<$wunj1e=$uocc1f->yped2a()->toai36($mkvr14)){$shmr1a[]=array($wunj1e,$uocc1f);}}return $shmr1a;}}?>
Function Calls
None |
Stats
MD5 | 882128c2c0ed500589349e86ff44374e |
Eval Count | 0 |
Decode Time | 90 ms |