3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = htmlentities('cal@gmail.com', ENT_QUOTES); $private_key = '6KzVA_2qy'; //possible de la changer function base64_url_encode($input) { return strtr(base64_encode($input), '+/=', '-_,'); } function f_crypt($private_key, $str_to_crypt) { $private_key = md5($private_key); $letter = -1; $new_str = ''; $strlen = strlen($str_to_crypt); for ($i = 0; $i < $strlen; $i++) { $letter++; if ($letter > 31) { $letter = 0; } $neword = ord($str_to_crypt{$i}) + ord($private_key{$letter}); if ($neword > 255) { $neword -= 256; } $new_str .= chr($neword); } return base64_url_encode($new_str); } $corps_email = 'Pour valider votre inscription à la newsletter des bons Plans App Store du jour , <a href="http://iphoneaddict.fr/apps/newsletter/inscription.php?tru=1&amp;email=' . f_crypt($private_key, $email) . '">cliquez ici</a>.'; echo $corps_email;

This is an error 404

There are `0` results


preferences:
146.01 ms | 1399 KiB | 7 Q