3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $origin_cookie = base64_decode('ClVLIh4ASCsCBE8lAxMacFMZV2hdVVotEhhUJQNVAmhSEV4sFxFeaAw'); function xor_encrypt($in) { $key = '<censored>'; $text = $in; $outText = ''; // Iterate through each character for($i=0;$i<strlen($text);$i++) { $outText .= $text[$i] ^ $key[$i % strlen($key)]; } return $outText; } print xor_encrypt($origin_cookie); ?>
based on XbvA1
Output for 5.5.0 - 7.3.0rc3
66.Lmo:Nf:sFf}i!|3Va6?Caw&@gk> 7-Cet:V0