3v4l.org

run code in 300+ PHP versions simultaneously
<?php function wh_en($str, $pass) { $out = ''; $i = 0; while($i < strlen($str)) { $symb = base64_encode($str{$i}); $out .= $symb.$pass; $i += 1; } $out1 = base64_encode($out); $out = base64_encode($out1); return $out; } function wh_de($str, $pass) { $sf = base64_decode($str); $first = base64_decode($sf); if(strrpos($pass, $first) === $first) { return null; } else { str_replace($pass, '', $first); $second = explode('==', $first); $out = ''; $i = 0; while($i < count($second)) { $out .= base64_decode($second[$i].'=='); } return $out; } } $str = 'super89'; $pass = 'etpa'; $en = wh_en($str, $pass); $de = wh_de($en, $pass); echo $en.'<br><br>'.$de; ?>

This is an error 404

There are `0` results


preferences:
141.47 ms | 1390 KiB | 7 Q