3v4l.org

run code in 200+ 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; } print base64_decode(xor_decrypt('ClVLIh4ASCsCBE8lAxMacFMZV2hdVVotEhhUJQNVAmhSEV4sFxFeaAw'));
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function xor_decrypt() in /in/fPQJc:16 Stack trace: #0 {main} thrown in /in/fPQJc on line 16
Process exited with code 255.
Output for 5.3.17 - 5.6.28
Fatal error: Call to undefined function xor_decrypt() in /in/fPQJc on line 16
Process exited with code 255.