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 Swoole\Protocol; use Swoole; require_once LIBPATH . '/function/cli.php'; ..
Decoded Output download
<?php
namespace Swoole\Protocol;
use Swoole;
require_once LIBPATH . '/function/cli.php';
class AppFPM extends FastCGI
{
protected $router_function;
protected $apps_path;
function onStart($serv)
{
parent::onStart($serv);
if (empty($this->apps_path))
{
if (!empty($this->config['apps']['apps_path']))
{
$this->apps_path = $this->config['apps']['apps_path'];
}
else
{
throw new \Exception(__CLASS__.": require apps_path");
}
}
$php = Swoole::getInstance();
$php->addHook(Swoole::HOOK_CLEAN, function(){
$php = Swoole::getInstance();
//
if(!empty($php->tpl))
{
$php->tpl->clear_all_assign();
}
});
}
function onRequest(Swoole\Request $request)
{
return Swoole::getInstance()->handlerServer($request);
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Swoole\Protocol;
use Swoole;
require_once LIBPATH . '/function/cli.php';
class AppFPM extends FastCGI
{
protected $router_function;
protected $apps_path;
function onStart($serv)
{
parent::onStart($serv);
if (empty($this->apps_path))
{
if (!empty($this->config['apps']['apps_path']))
{
$this->apps_path = $this->config['apps']['apps_path'];
}
else
{
throw new \Exception(__CLASS__.": require apps_path");
}
}
$php = Swoole::getInstance();
$php->addHook(Swoole::HOOK_CLEAN, function(){
$php = Swoole::getInstance();
//
if(!empty($php->tpl))
{
$php->tpl->clear_all_assign();
}
});
}
function onRequest(Swoole\Request $request)
{
return Swoole::getInstance()->handlerServer($request);
}
}
Function Calls
None |
Stats
MD5 | 67d8357ea2f1557d18c2a5c095661cf9 |
Eval Count | 0 |
Decode Time | 93 ms |