3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php 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; } $tempdata = json_decode(xor_encrypt(base64_decode("ClVLIh4ASCsCBE8lAxMacFMZV2hdVVotEhhUJQNVAmhSRwh6QUcIaAw"), true); print $tempdata;
Output for 5.3.0 - 5.4.22
Parse error: syntax error, unexpected ';' in /in/oguZ2 on line 17
Process exited with code 255.