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 require dirname(__DIR__) . '/config.php'; //Swoole\Loader::addNameSpace('Topic', d..

Decoded Output download

<?php
require dirname(__DIR__) . '/config.php';


//Swoole\Loader::addNameSpace('Topic', dirname(dirname(__DIR__)) . '/CheLun/Topic/apps/models');

\Swoole\Loader::addNameSpace('Configs', WEBPATH . '/apps/configs');


//
//
$file = array('bin'=>realpath(ROOTPATH.'/dict/dict_all.dat'),'source'=>realpath(ROOTPATH.'/dict/dict_all.dat'));
Swoole::$php->trie = new App\Trie($file);
Swoole::$php->trie->nodes = Swoole::$php->trie->getBinaryDict($file['bin']);

//print_r(Swoole::$php->trie->nodes);

//\Swoole::$php->db->debug = 1;


$word = 'wosiwo';
$ret = Keyword\KeywordApi::search($word);


var_dump($ret);


$service = \Service::getInstance('Keyword');

//$service->addServers(array('host' => '127.0.0.1', 'port' => 9100));

//print_r($service);
$ret = $service->call('KeywordApi::search',$word)->getResult();
var_dump($ret); ?>

Did this file decode correctly?

Original Code

<?php
require dirname(__DIR__) . '/config.php';


//Swoole\Loader::addNameSpace('Topic', dirname(dirname(__DIR__)) . '/CheLun/Topic/apps/models');

\Swoole\Loader::addNameSpace('Configs', WEBPATH . '/apps/configs');


//
//
$file = array('bin'=>realpath(ROOTPATH.'/dict/dict_all.dat'),'source'=>realpath(ROOTPATH.'/dict/dict_all.dat'));
Swoole::$php->trie = new App\Trie($file);
Swoole::$php->trie->nodes = Swoole::$php->trie->getBinaryDict($file['bin']);

//print_r(Swoole::$php->trie->nodes);

//\Swoole::$php->db->debug = 1;


$word = 'wosiwo';
$ret = Keyword\KeywordApi::search($word);


var_dump($ret);


$service = \Service::getInstance('Keyword');

//$service->addServers(array('host' => '127.0.0.1', 'port' => 9100));

//print_r($service);
$ret = $service->call('KeywordApi::search',$word)->getResult();
var_dump($ret);

Function Calls

None

Variables

None

Stats

MD5 d9e27edfcf75a18695116a50148b1c28
Eval Count 0
Decode Time 98 ms