3v4l.org

run code in 300+ PHP versions simultaneously
<?php // echo base64_decode("ClVLIh4ASCsCBE8lAxMacFMZV2hdVVotEhhUJQNVAmhSQg1/REUKaAw=") ^ '{"showpassword":"no","bgcolor":"#ffffff"}'; //echo json_encode(array('a'=>'b','c'=>'d')); $key = "qw8J"; $text = '{"showpassword":"yes","bgcolor":"#ffffff"}'; $outText = ''; // Iterate through each character for($i=0;$i<strlen($text);$i++) { $outText .= $text[$i] ^ $key[$i % strlen($key)]; } echo base64_encode($outText); ?>

preferences:
28.88 ms | 402 KiB | 5 Q