Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

public function install() { Log::info("\111\x6e\163\x74\141\154\154\x69\x6e\..

Decoded Output download

<?  public function install() 
    { 
        Log::info("Installing package " . $this->slug); 
        try { 
            $package_data = array_merge($this->package, preparePackageInstallation($this->package)); 
            Package::create($package_data); 
            $this->migrate()->seed(); 
        } catch (\Exception $exception) { 
            Log::info("Package installation failed " . $this->slug); 
            Log::error(get_exception_message($exception)); 
            throw new \Exception("Package Installation Failed " . $this->slug); 
        } 
        Log::info("Successfully installed package " . $this->slug); 
        return true; 
    } ?>

Did this file decode correctly?

Original Code

public function install()
    {
        Log::info("\111\x6e\163\x74\141\154\154\x69\x6e\147\x20\160\x61\143\x6b\141\x67\145\x20" . $this->slug);
        try {
            $package_data = array_merge($this->package, preparePackageInstallation($this->package));
            Package::create($package_data);
            $this->migrate()->seed();
        } catch (\Exception $exception) {
            Log::info("\120\x61\x63\x6b\141\147\145\x20\151\156\x73\164\141\x6c\x6c\141\164\151\157\156\x20\x66\141\x69\154\x65\144\x20" . $this->slug);
            Log::error(get_exception_message($exception));
            throw new \Exception("\x50\x61\143\153\x61\x67\145\x20\111\156\163\x74\x61\154\154\x61\x74\151\x6f\x6e\x20\106\141\151\x6c\145\144\40" . $this->slug);
        }
        Log::info("\x53\165\143\143\145\x73\163\146\x75\154\x6c\x79\40\x69\156\x73\x74\x61\x6c\x6c\145\144\x20\x70\x61\x63\153\141\147\x65\40" . $this->slug);
        return true;
    }

Function Calls

None

Variables

None

Stats

MD5 9b8afbabb513adeb6139af33bb7479be
Eval Count 0
Decode Time 53 ms