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 # Start PHP Compiler Encoded data =====-----------------------------------..

Decoded Output download

<?php  
 
 
 
 
# Start PHP Compiler Encoded data =====---------------------------------------------------------- 
 
if (!function_exists('decode')) { function decode ($enc) { 
$enc = preg_replace("/[
]/i", "", $enc); $d='; $byte='; $bit=0; $c=0; $l=0; 
for ($i=0;$i<strlen($enc);$i++) { $bit++; $byte .= $enc{$i}; if ($bit==3) { $d .= chr($byte); 
unset($bit); unset($byte); } } eval($d); } } 
 
decode('010013010032101099104111032034060104049062072101108108111032087111114108100032033060047 
104049062034059013010013010032063062'); 
 
# Endware, PHP Compiler Encoded data =====------------------------------------------------------- 
 ?>

Did this file decode correctly?

Original Code

<?php 




# Start PHP Compiler Encoded data =====----------------------------------------------------------

if (!function_exists('decode')) { function decode ($enc) {
$enc = preg_replace("/[\r\n]/i", "", $enc); $d='; $byte='; $bit=0; $c=0; $l=0;
for ($i=0;$i<strlen($enc);$i++) { $bit++; $byte .= $enc{$i}; if ($bit==3) { $d .= chr($byte);
unset($bit); unset($byte); } } eval($d); } }

decode('010013010032101099104111032034060104049062072101108108111032087111114108100032033060047
104049062034059013010013010032063062');

# Endware, PHP Compiler Encoded data =====-------------------------------------------------------

Function Calls

chr 1
decode 1
strlen 3
preg_replace 1
function_exists 1

Variables

$c 0
$d ; $byte=
$i 2
$l 0
$bit 3
$enc 010013010032101099104111032034060104049062072101108108111032..
$byte 010

Stats

MD5 5af1b2374b767d8c9c711f5178a3bf4f
Eval Count 0
Decode Time 55 ms