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 eval(gzinflate(base64_decode("dVPLTsMwEPyVJeohlVokjjSiFygSEgiRinPkOpvUqmsH26GqEP+Ond..

Decoded Output download

  class Database {   private $_connection;   private static $_instance;  private $_host = "localhost";   private $_username = "root";   private $_password = "maklockedye19";   private $_database = "bingo";    public static function getInstance() {      if (!self::$_instance) {       self::$_instance = new self();      }      return self::$_instance;    }    public function __construct() {      $this->_connection = new mysqli($this->_host, $this->_username, $this->_password, $this->_database);      if (mysqli_connect_error()) {        trigger_error("Failed to connect to MySQL: " . mysqli_connect_error(), E_USER_ERROR);      }    }    private function __clone() { }    public function getConnection() {      return $this->_connection;    }    public function checkConnectionStatus() {      if ($this->_connection->ping()) {        return true;     } else {        return false;     }    }  }   

Did this file decode correctly?

Original Code

<?php eval(gzinflate(base64_decode("dVPLTsMwEPyVJeohlVokjjSiFygSEgiRinPkOpvUqmsH26GqEP+Ondh5teQQOzvj3dlZB4ByojU8EUN2RCP8AECl2DcxCLOMSiGQGiZFMohrQwyjFmbCbgXFZHhmL7WBB4i4pIS7jygZ5aw1KkGO6DhKyilcWTknqXIHH8nBZjlgfsa7+wkvD4otb8dEKRscqnrHrTYvsahFox5KNC9ebDxvmrQPKyC+0ciL1arvpUNhithKAk9NOJ4nLee3XRSaWomLE0lH8bI6PZmzVhtVU9PrmZk908v1wHVf8njWX5zFAXemLjp28LOPBAv7SDAryHadt0lDsQyVkiqe9+2DUawsUXkkeiaMYw5Ggj/itm/n7cfrCiK4hev5FrDJPrebNNuk6Xs6sq01xg906AyXop3SVevsKB87g3rz/AguPfx/CHSP9NDn2to7U+vx9bhMt1xX9raNjPKl7TTbidtqyP2/NCQUxEYDo3259Q8="))); ?>

Function Calls

gzinflate 1
base64_decode 1

Variables

None

Stats

MD5 de4f3918a9ccb1dec7c8982887dd3a00
Eval Count 1
Decode Time 42 ms