3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email= 'm6udrKWplpyWyNCQnqOkmaKWmp-SxdPR,,'; $private_key = '6KzVA_2qy'; //possible de la changer function base64_url_decode($input) { return base64_decode(strtr($input, '-_,', '+/=')); } //fonction de decryptage function f_decrypt($private_key, $str_to_decrypt) { $private_key = md5($private_key); $letter = -1; $new_str = ''; $str_to_decrypt = base64_decode($str_to_decrypt); $strlen = strlen($str_to_decrypt); for ($i = 0; $i < $strlen; $i++) { $letter++; if ($letter > 31) { $letter = 0; } $neword = ord($str_to_decrypt{$i}) - ord($private_key{$letter}); if ($neword < 1) { $neword += 256; } $new_str .= chr($neword); } return $new_str; } echo f_decrypt($private_key, $email);
Output for git.master, git.master_jit
Fatal error: Array and string offset access syntax with curly braces is no longer supported in /in/AmH66 on line 25
Process exited with code 255.
Output for rfc.property-hooks
Parse error: syntax error, unexpected token "{", expecting ")" in /in/AmH66 on line 25
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
36.28 ms | 401 KiB | 8 Q