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 global $php; $config = $php->config['log']; if (empty($config[$php->factory_key])) {..
Decoded Output download
<?php
global $php;
$config = $php->config['log'];
if (empty($config[$php->factory_key]))
{
throw new Swoole\Exception\Factory("log->{$php->factory_key} is not found.");
}
$conf = $config[$php->factory_key];
if (empty($conf['type']))
{
$conf['type'] = 'EchoLog';
}
$class = 'Swoole\Log\' . $conf['type'];
$log = new $class($conf);
if (!empty($conf['level']))
{
$log->setLevel($conf['level']);
}
return $log; ?>
Did this file decode correctly?
Original Code
<?php
global $php;
$config = $php->config['log'];
if (empty($config[$php->factory_key]))
{
throw new Swoole\Exception\Factory("log->{$php->factory_key} is not found.");
}
$conf = $config[$php->factory_key];
if (empty($conf['type']))
{
$conf['type'] = 'EchoLog';
}
$class = 'Swoole\\Log\\' . $conf['type'];
$log = new $class($conf);
if (!empty($conf['level']))
{
$log->setLevel($conf['level']);
}
return $log;
Function Calls
None |
Stats
MD5 | 341f92d7f6ebc1897913b3a169acd103 |
Eval Count | 0 |
Decode Time | 86 ms |