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 // Encoded string from the obfuscated file $encoded_string = 'JF9YPWJhc2U2NF9kZWNv..

Decoded Output download

<?php 
// Encoded string from the obfuscated file 
$encoded_string = 'JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdTZ1BPOVlaV0ZLbXF5ZnhjakxKUnp1TTV2TnRzMWIue0I0bkNdaS8yRGwwRWhlQQpbZDg9UXA+VlhvIEh9NkdJdzdrYTNUclU8JywnPVI5b2RtcGxBRVB5azhndls1M3hyTWV6cVpIaTdZaFc8RHNHez5DY1h9MU4vYWZqNl1KdHVTIAouQlVud1ZLTFFPMjBJVEY0YicpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw='; 
 
// Correct the padding for the base64 encoded string 
$encoded_string_padded = str_pad($encoded_string, strlen($encoded_string) % 4, '=', STR_PAD_RIGHT); 
 
// Decode the base64 encoded string 
$decoded_bytes = base64_decode($encoded_string_padded); 
 
// Reverse the decoded string 
$reversed_string = strrev($decoded_bytes); 
 
// Output the reversed string to see the final result 
echo $reversed_string; 
?> 

Did this file decode correctly?

Original Code

<?php
// Encoded string from the obfuscated file
$encoded_string = 'JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdTZ1BPOVlaV0ZLbXF5ZnhjakxKUnp1TTV2TnRzMWIue0I0bkNdaS8yRGwwRWhlQQpbZDg9UXA+VlhvIEh9NkdJdzdrYTNUclU8JywnPVI5b2RtcGxBRVB5azhndls1M3hyTWV6cVpIaTdZaFc8RHNHez5DY1h9MU4vYWZqNl1KdHVTIAouQlVud1ZLTFFPMjBJVEY0YicpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=';

// Correct the padding for the base64 encoded string
$encoded_string_padded = str_pad($encoded_string, strlen($encoded_string) % 4, '=', STR_PAD_RIGHT);

// Decode the base64 encoded string
$decoded_bytes = base64_decode($encoded_string_padded);

// Reverse the decoded string
$reversed_string = strrev($decoded_bytes);

// Output the reversed string to see the final result
echo $reversed_string;
?>

Function Calls

strlen 1

Variables

$encoded_string JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdTZ1BPOVla..

Stats

MD5 9539ff859ff6c4024ed7d25ae6c1d396
Eval Count 0
Decode Time 44 ms