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 Config; class Database extends \CodeIgniter\Database\Config { public $fi..

Decoded Output download

<?php 
 namespace Config; class Database extends \CodeIgniter\Database\Config { public $filesPath = APPPATH . "Database/"; public $defaultGroup = "default"; public $default = array("DSN" => '', "hostname" => "localhost", "username" => "root", "password" => "Ikangoreng12!", "database" => "kasirku_market", "DBDriver" => "MySQLi", "DBPrefix" => '', "pConnect" => false, "DBDebug" => ENVIRONMENT !== "production", "cacheOn" => false, "cacheDir" => '', "charset" => "utf8", "DBCollat" => "utf8_general_ci", "swapPre" => '', "encrypt" => false, "compress" => false, "strictOn" => false, "failover" => array(), "port" => 3306); public $tests = array("DSN" => '', "hostname" => "127.0.0.1", "username" => '', "password" => '', "database" => ":memory:", "DBDriver" => "SQLite3", "DBPrefix" => "db_", "pConnect" => false, "DBDebug" => ENVIRONMENT !== "production", "cacheOn" => false, "cacheDir" => '', "charset" => "utf8", "DBCollat" => "utf8_general_ci", "swapPre" => '', "encrypt" => false, "compress" => false, "strictOn" => false, "failover" => array(), "port" => 3306); public function __construct() { parent::__construct(); if (ENVIRONMENT === "testing") { $this->defaultGroup = "tests"; if ($group = getenv("DB")) { if (is_file(TESTPATH . "travis/Database.php")) { require TESTPATH . "travis/Database.php"; if (!empty($dbconfig) && array_key_exists($group, $dbconfig)) { $this->tests = $dbconfig[$group]; } } } } } } ?>

Did this file decode correctly?

Original Code

<?php
 namespace Config; class Database extends \CodeIgniter\Database\Config { public $filesPath = APPPATH . "\x44\x61\164\141\142\141\163\145\57"; public $defaultGroup = "\144\145\x66\x61\x75\x6c\164"; public $default = array("\x44\123\116" => '', "\x68\x6f\x73\164\156\141\155\145" => "\154\x6f\143\x61\154\x68\x6f\x73\x74", "\x75\163\x65\162\156\x61\x6d\145" => "\162\157\x6f\x74", "\x70\x61\x73\x73\167\157\162\x64" => "\x49\153\x61\156\x67\x6f\x72\x65\x6e\x67\61\62\41", "\x64\141\x74\x61\142\141\x73\x65" => "\x6b\x61\x73\151\162\x6b\x75\137\155\141\162\x6b\145\164", "\104\102\x44\162\151\x76\145\x72" => "\x4d\x79\123\x51\114\x69", "\104\102\x50\x72\x65\x66\151\170" => '', "\160\103\157\156\x6e\145\143\x74" => false, "\104\102\x44\145\x62\x75\147" => ENVIRONMENT !== "\x70\x72\x6f\x64\165\143\x74\151\157\x6e", "\143\141\143\150\145\117\156" => false, "\x63\x61\143\150\145\x44\151\x72" => '', "\x63\x68\141\x72\x73\x65\x74" => "\165\x74\x66\70", "\x44\x42\103\x6f\154\x6c\x61\164" => "\165\x74\146\x38\x5f\x67\x65\x6e\x65\x72\141\x6c\x5f\143\x69", "\163\x77\141\x70\120\x72\145" => '', "\x65\x6e\143\162\171\160\164" => false, "\143\157\155\160\162\x65\163\163" => false, "\x73\x74\162\x69\x63\164\x4f\156" => false, "\146\141\x69\x6c\157\166\145\162" => array(), "\160\157\162\164" => 3306); public $tests = array("\x44\x53\x4e" => '', "\150\157\163\164\156\141\155\x65" => "\61\x32\x37\56\60\x2e\60\x2e\61", "\165\163\x65\x72\156\141\x6d\145" => '', "\x70\x61\163\163\167\157\x72\x64" => '', "\x64\x61\x74\x61\142\141\163\145" => "\x3a\155\x65\x6d\157\162\x79\x3a", "\104\102\104\x72\151\166\x65\162" => "\123\121\114\x69\x74\145\x33", "\104\x42\x50\x72\145\x66\x69\x78" => "\x64\142\x5f", "\x70\103\157\156\x6e\x65\x63\x74" => false, "\x44\102\x44\145\142\x75\147" => ENVIRONMENT !== "\x70\x72\x6f\144\x75\143\x74\x69\x6f\x6e", "\x63\141\x63\150\x65\117\x6e" => false, "\143\x61\143\x68\145\x44\x69\162" => '', "\x63\x68\141\x72\163\x65\164" => "\165\x74\146\70", "\x44\102\103\157\154\x6c\141\x74" => "\165\164\x66\x38\137\147\x65\156\145\x72\141\154\x5f\x63\151", "\163\x77\x61\160\120\x72\x65" => '', "\x65\156\x63\x72\x79\160\x74" => false, "\143\x6f\x6d\160\x72\145\x73\x73" => false, "\163\164\162\x69\143\164\x4f\x6e" => false, "\x66\x61\x69\154\x6f\x76\145\x72" => array(), "\x70\x6f\x72\164" => 3306); public function __construct() { parent::__construct(); if (ENVIRONMENT === "\x74\x65\163\164\151\156\x67") { $this->defaultGroup = "\x74\x65\163\x74\163"; if ($group = getenv("\104\102")) { if (is_file(TESTPATH . "\164\162\x61\166\x69\163\x2f\104\141\164\141\142\141\163\145\x2e\x70\150\x70")) { require TESTPATH . "\164\162\x61\x76\151\x73\57\104\x61\x74\141\142\x61\x73\x65\x2e\x70\x68\160"; if (!empty($dbconfig) && array_key_exists($group, $dbconfig)) { $this->tests = $dbconfig[$group]; } } } } } }

Function Calls

None

Variables

None

Stats

MD5 31d516cdfc8eddc64f3507bfa9227244
Eval Count 0
Decode Time 60 ms