3v4l.org

run code in 300+ PHP versions simultaneously
<?php function xor_this($string) { // Let's define our key here $key = ('12341234'); // Our plaintext/ciphertext $text ='adeabecc'; // Our output text $outText = ''; // Iterate through each character for($i=0;$i<strlen($text);) { for($j=0;($j<strlen($key) && $i<strlen($text));$j++,$i++) { $outText .= $text{$i} ^ $key{$j}; echo 'i='.$i.', '.'j='.$j.', '.$outText{$i}.'<br />'; //for debugging } } return $outText; } echo xor_this('adeabecc');

This is an error 404

There are `0` results


preferences:
154.13 ms | 1398 KiB | 7 Q