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 Controllers; /** * Index Controller * * @author sasou * @version 1...
Decoded Output download
<?php
namespace Controllers;
/**
* Index Controller
*
* @author sasou
* @version 1.0
*/
class Index extends \Gene\Controller
{
/**
* index
*/
public function index()
{
$this->assign('title', "");
$this->display('index/list', 'common');
}
/**
* doc
*/
public function doc($params)
{
// url
$id = $params['id'] ?? 0;
//
$parsedown = new \Ext\Parsedown();
//
$this->assign('id', $id);
$this->assign('title', "");
$this->assign('css', ['mdediter/md.min']);
$this->assign('js', ['mdediter/md.min']);
$this->assign('help', \Services\Doc\Mark::getInstance()->listAll(1));
$this->assign('doc', \Services\Doc\Mark::getInstance()->listAll(2));
$mark = \Services\Doc\Mark::getInstance()->row($id);
if ($mark) {
$this->assign('mark', $mark);
$this->assign('title', $parsedown->text($this->view->mark['app_description']));
}
$this->view->display('index/doc', 'common');
}
/**
* test
*/
public function test()
{
// ,
$title = "";
$this->assign('title', $title);
$this->display('index/test', 'common');
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Controllers;
/**
* Index Controller
*
* @author sasou
* @version 1.0
*/
class Index extends \Gene\Controller
{
/**
* index
*/
public function index()
{
$this->assign('title', "");
$this->display('index/list', 'common');
}
/**
* doc
*/
public function doc($params)
{
// url
$id = $params['id'] ?? 0;
//
$parsedown = new \Ext\Parsedown();
//
$this->assign('id', $id);
$this->assign('title', "");
$this->assign('css', ['mdediter/md.min']);
$this->assign('js', ['mdediter/md.min']);
$this->assign('help', \Services\Doc\Mark::getInstance()->listAll(1));
$this->assign('doc', \Services\Doc\Mark::getInstance()->listAll(2));
$mark = \Services\Doc\Mark::getInstance()->row($id);
if ($mark) {
$this->assign('mark', $mark);
$this->assign('title', $parsedown->text($this->view->mark['app_description']));
}
$this->view->display('index/doc', 'common');
}
/**
* test
*/
public function test()
{
// ,
$title = "";
$this->assign('title', $title);
$this->display('index/test', 'common');
}
}
Function Calls
| None |
Stats
| MD5 | d4e01230e9c9eed2a2f0c2513641b9b7 |
| Eval Count | 0 |
| Decode Time | 81 ms |