3v4l.org

run code in 300+ PHP versions simultaneously
<?php function xor_encrypt($in) { $key = 'eDWo'; $text = $in; $outText = ''; // Iterate through each character for($i=0;$i<strlen($text);$i++) { $outText .= $text[$i] ^ $key[$i % strlen($key)]; } return $outText; } $tempdata = xor_encrypt(base64_decode('8zEgOFGZOHCxuQAAuQOqqjnpkOI7Q6hoETnAGFGzqqo7OIlJGBCJSjnI')); echo $tempdata; ?>
Output for 8.2.0 - 8.2.29, 8.3.0 - 8.3.28, 8.4.1 - 8.4.15, 8.5.0
�uwW4�o�Wo�G��\�Ǎ^�t}�w4���^|�&}T�%\�

preferences:
54.68 ms | 406 KiB | 5 Q