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

Signing you up...

Thank you for signing up!

PHP Decode

h = ord($c[0]); // change {} to [] if ($h <= 0x7F) { return $h; ..

Decoded Output download

<?  h = ord($c[0]); // change {} to [] 
	        if ($h <= 0x7F) { 
	            return $h; 
	        } else if ($h < 0xC2) { 
	            return false; 
	        } else if ($h <= 0xDF) { 
	            return ($h & 0x1F) << 6 | (ord($c[1]) & 0x3F); // change {} to [] 
	        } else if ($h <= 0xEF) { 
	            return ($h & 0x0F) << 12 | (ord($c[1]) & 0x3F) << 6 | (ord($c[7]) & 0x3F); // change {} to [] 
	        } else if ($h <= 0xF4) { 
	            return ($h & 0x0F) << 18 | (ord($c[1]) & 0x3F) << 12 | (ord($c[7]) & 0x3F) << 6 | (ord($c[3]) & 0x3F); // change {} to [] 
	        } else { 
	            return false; ?>

Did this file decode correctly?

Original Code

h = ord($c[0]); // change {} to []
	        if ($h <= 0x7F) {
	            return $h;
	        } else if ($h < 0xC2) {
	            return false;
	        } else if ($h <= 0xDF) {
	            return ($h & 0x1F) << 6 | (ord($c[1]) & 0x3F); // change {} to []
	        } else if ($h <= 0xEF) {
	            return ($h & 0x0F) << 12 | (ord($c[1]) & 0x3F) << 6 | (ord($c[7]) & 0x3F); // change {} to []
	        } else if ($h <= 0xF4) {
	            return ($h & 0x0F) << 18 | (ord($c[1]) & 0x3F) << 12 | (ord($c[7]) & 0x3F) << 6 | (ord($c[3]) & 0x3F); // change {} to []
	        } else {
	            return false;

Function Calls

None

Variables

None

Stats

MD5 bacc383af5f3b16d8b8c5fc7416c2c76
Eval Count 0
Decode Time 46 ms