3v4l.org

run code in 300+ PHP versions simultaneously
<?php function decrypt ($string,$cc_encryption_hash) { $key = md5 (md5 ($cc_encryption_hash)) . md5 ($cc_encryption_hash); $hash_key = _hash ($key); $hash_length = strlen ($hash_key); $string = base64_decode ($string); $tmp_iv = substr ($string, 0, $hash_length); $string = substr ($string, $hash_length, strlen ($string) - $hash_length); $iv = $out = ''; $c = 0; while ($c < $hash_length) { $iv .= chr (ord ($tmp_iv[$c]) ^ ord ($hash_key[$c])); ++$c; } $key = $iv; $c = 0; while ($c < strlen ($string)) { if (($c != 0 AND $c % $hash_length == 0)) { $key = _hash ($key . substr ($out, $c - $hash_length, $hash_length)); } $out .= chr (ord ($key[$c % $hash_length]) ^ ord ($string[$c])); ++$c; } return $out; } function _hash ($string) { if (function_exists ('sha1')) { $hash = sha1 ($string); } else { $hash = md5 ($string); } $out = ''; $c = 0; while ($c < strlen ($hash)) { $out .= chr (hexdec ($hash[$c] . $hash[$c + 1])); $c += 2; } return $out; } echo decrypt('\xEF\xBF\xBD\x6F\x72\xEF\xBF\xBD\x3A\x69\x09\xEF\xBF\xBD\xEF\xBF\xBD\xC7\x91\xEF\xBF\xBD\xEF\xBF\xBD\x6C\xEF\xBF\xBD\xEF\xBF\xBD\x24\x78\x08\xEF\xBF\xBD\x08\xEF\xBF\xBD\x67\xEF\xBF\xBD\xEF\xBF\xBD\x16\xEF\xBF\xBD\xEF\xBF\xBD\x1F\x3F\xEF\xBF\xBD\x54','NjpKc0cpkzExDDvuGnZaTt926wemI34ldjWgaZvlo0IRt3cZh2Z0lYTilYuTRp5V'); ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.40.0070.00718.74
8.3.30.0100.00320.39
8.3.20.0000.00820.48
8.3.10.0090.00021.23
8.3.00.0040.00423.65
8.2.170.0110.00722.96
8.2.160.0070.00720.39
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0030.00526.16
8.2.120.0050.00221.11
8.2.110.0090.00019.02
8.2.100.0050.01017.84
8.2.90.0040.00419.26
8.2.80.0000.00818.16
8.2.70.0040.00417.63
8.2.60.0050.00318.03
8.2.50.0040.00418.07
8.2.40.0000.00818.22
8.2.30.0040.00419.47
8.2.20.0000.00717.76
8.2.10.0020.00517.84
8.2.00.0040.00417.70
8.1.270.0040.00423.99
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0050.00323.79
8.1.230.0090.00320.84
8.1.220.0000.00818.77
8.1.210.0060.00318.96
8.1.200.0030.00617.35
8.1.190.0040.00417.40
8.1.180.0030.00618.10
8.1.170.0050.00318.58
8.1.160.0030.00518.92
8.1.150.0040.00418.67
8.1.140.0000.00717.42
8.1.130.0030.00317.77
8.1.120.0000.00717.37
8.1.110.0050.00317.46
8.1.100.0000.00817.42
8.1.90.0070.00017.40
8.1.80.0000.00717.47
8.1.70.0000.00717.39
8.1.60.0060.00317.59
8.1.50.0000.00717.41
8.1.40.0080.00017.49
8.1.30.0040.00417.55
8.1.20.0040.00417.67
8.1.10.0030.00617.58
8.1.00.0080.00017.43
8.0.300.0060.00320.02
8.0.290.0040.00417.28
8.0.280.0000.00718.41
8.0.270.0000.00717.18
8.0.260.0000.00716.86
8.0.250.0030.00316.95
8.0.240.0000.00816.99
8.0.230.0040.00417.03
8.0.220.0070.00016.84
8.0.210.0000.00816.92
8.0.200.0000.00716.96
8.0.190.0040.00416.86
8.0.180.0050.00216.98
8.0.170.0000.00816.94
8.0.160.0040.00416.89
8.0.150.0070.00016.89
8.0.140.0050.00316.89
8.0.130.0050.00013.40
8.0.120.0000.00916.86
8.0.110.0030.00516.88
8.0.100.0030.00516.92
8.0.90.0050.00316.80
8.0.80.0090.01216.91
8.0.70.0050.00216.83
8.0.60.0050.00316.85
8.0.50.0050.00216.82
8.0.30.0100.01017.12
8.0.20.0080.01017.40
8.0.10.0040.00416.85
8.0.00.0100.01016.76
7.4.330.0070.00015.07
7.4.320.0030.00316.53
7.4.300.0000.00616.46
7.4.290.0000.00816.64
7.4.280.0000.00816.55
7.4.270.0000.00716.48
7.4.260.0000.00513.27
7.4.250.0040.00416.58
7.4.240.0000.00716.53
7.4.230.0000.00716.54
7.4.220.0070.01416.64
7.4.210.0080.00916.61
7.4.200.0070.00016.70
7.4.190.0030.00316.79
7.4.160.0090.00616.64
7.4.150.0030.01617.40
7.4.140.0090.01117.86
7.4.130.0100.00816.56
7.4.120.0060.01116.66
7.4.110.0070.01016.70
7.4.100.0180.00016.36
7.4.90.0030.01616.57
7.4.80.0120.01219.39
7.4.70.0110.00616.66
7.4.60.0170.00616.50
7.4.50.0000.00816.51
7.4.40.0030.00922.77
7.4.30.0070.01016.53
7.4.00.0000.01915.11
7.3.330.0000.00713.19
7.3.320.0050.00013.30
7.3.310.0000.00616.33
7.3.300.0000.00716.38
7.3.290.0070.00716.29
7.3.280.0110.00816.38
7.3.270.0100.00717.40
7.3.260.0100.01218.24
7.3.250.0110.00916.47
7.3.240.0070.01016.24
7.3.230.0040.01316.60
7.3.210.0130.00316.49
7.3.200.0030.01419.39
7.3.190.0060.01016.38
7.3.180.0100.01016.64
7.3.170.0090.00616.50
7.3.160.0030.01316.44
7.3.120.0100.00714.85
7.2.330.0140.00516.80
7.2.320.0090.01216.79
7.2.310.0090.00916.75
7.2.300.0100.01016.82
7.2.290.0120.00616.52
7.2.00.0070.00319.36
7.1.100.0030.01417.86
7.1.70.0000.00817.22
7.1.60.0100.01619.17
7.1.50.0090.01217.14
7.1.00.0000.03722.45
7.0.200.0030.00516.55
7.0.140.0030.07322.12
7.0.100.0130.07319.91
7.0.90.0130.08019.92
7.0.80.0470.07319.92
7.0.70.0100.05019.91
7.0.60.0070.07719.98
7.0.50.0070.04320.38
7.0.40.0030.04020.08
7.0.30.0070.06720.10
7.0.20.0100.04020.17
7.0.10.0100.06720.10
7.0.00.0100.05720.13
5.6.280.0030.07320.79
5.6.250.0000.05320.82
5.6.240.0130.07720.76
5.6.230.0270.07020.60
5.6.220.0070.08020.53
5.6.210.0070.07720.61
5.6.200.0070.08321.11
5.6.190.0070.04720.96
5.6.180.0070.07321.04
5.6.170.0130.04721.18
5.6.160.0070.06321.07
5.6.150.0100.07721.09
5.6.140.0100.04320.96
5.6.130.0070.09020.97
5.6.120.0070.07721.06
5.6.110.0070.04020.95
5.6.100.0170.03321.11
5.6.90.0070.07021.03
5.6.80.0070.07720.50
5.6.70.0030.08020.39
5.6.60.0070.08320.49
5.6.50.0200.07320.33
5.6.40.0070.07320.30
5.6.30.0030.06320.36
5.6.20.0130.04020.54
5.6.10.0070.07720.37
5.6.00.0100.04320.46
5.5.380.0070.08720.41
5.5.370.0070.08020.34
5.5.360.0100.07020.56
5.5.350.0100.08020.46
5.5.340.0100.06720.88
5.5.330.0130.05020.89
5.5.320.0030.08020.95
5.5.310.0130.07320.77
5.5.300.0100.07020.77
5.5.290.0030.08020.90
5.5.280.0030.04720.82
5.5.270.0070.05720.83
5.5.260.0000.07020.92
5.5.250.0170.06020.65
5.5.240.0070.07020.17
5.5.230.0070.04720.28
5.5.220.0200.06720.00
5.5.210.0100.08020.29
5.5.200.0070.07319.99
5.5.190.0030.07720.22
5.5.180.0000.06720.27
5.5.160.0100.07720.26
5.5.150.0070.07020.14
5.5.140.0100.04320.22
5.5.130.0200.06320.28
5.5.120.0100.07020.08
5.5.110.0070.07320.14
5.5.100.0070.06020.11
5.5.90.0100.04020.11
5.5.80.0030.04719.96
5.5.70.0130.06020.09
5.5.60.0070.04020.05
5.5.50.0100.05720.13
5.5.40.0030.08319.97
5.5.30.0170.03720.11
5.5.20.0130.06720.07
5.5.10.0100.06720.09
5.5.00.0100.04720.12
5.4.450.0170.06019.18
5.4.440.0100.07719.38
5.4.430.0100.07719.35
5.4.420.0100.07719.36
5.4.410.0130.06319.04
5.4.400.0070.08018.88
5.4.390.0030.08019.05
5.4.380.0070.05719.02
5.4.370.0100.04018.90
5.4.360.0100.07018.94
5.4.350.0100.07318.85
5.4.340.0030.05319.13
5.4.320.0030.07019.16
5.4.310.0070.04719.13
5.4.300.0070.04319.13
5.4.290.0070.07719.03
5.4.280.0100.04019.12
5.4.270.0130.05719.18
5.4.260.0100.05719.07
5.4.250.0100.07018.93
5.4.240.0030.05018.89
5.4.230.0070.04018.84
5.4.220.0130.05319.04
5.4.210.0030.04018.86
5.4.200.0030.05718.89
5.4.190.0100.05719.17
5.4.180.0030.04319.08
5.4.170.0130.06719.03
5.4.160.0070.04318.93
5.4.150.0170.06319.00
5.4.140.0100.04316.50
5.4.130.0100.06316.33
5.4.120.0070.04716.41
5.4.110.0100.07016.40
5.4.100.0000.05316.32
5.4.90.0030.06716.56
5.4.80.0000.04016.30
5.4.70.0070.06316.43
5.4.60.0070.05716.46
5.4.50.0070.07716.44
5.4.40.0070.05016.33
5.4.30.0100.07016.51
5.4.20.0130.03016.47
5.4.10.0070.07316.24
5.4.00.0000.04315.64
5.3.290.0170.04714.63
5.3.280.0030.04714.62
5.3.270.0030.07714.58
5.3.260.0000.06014.75
5.3.250.0030.04014.66
5.3.240.0070.06314.68
5.3.230.0070.06714.55
5.3.220.0100.07014.56
5.3.210.0100.03714.66
5.3.200.0070.05014.73
5.3.190.0030.05314.51
5.3.180.0030.06714.69
5.3.170.0130.05014.69
5.3.160.0130.04014.64
5.3.150.0100.07014.70
5.3.140.0130.06714.54
5.3.130.0100.08014.57
5.3.120.0000.05714.60
5.3.110.0200.06714.52
5.3.100.0100.07014.15
5.3.90.0030.04314.00
5.3.80.0030.07014.07
5.3.70.0070.07313.96
5.3.60.0030.07713.91
5.3.50.0030.07013.86
5.3.40.0030.08014.09
5.3.30.0070.06713.99
5.3.20.0130.06713.73
5.3.10.0030.07013.60
5.3.00.0070.07313.65
5.2.170.0030.03711.17
5.2.160.0030.03711.23
5.2.150.0030.07011.02
5.2.140.0030.03711.04
5.2.130.0070.06011.18
5.2.120.0070.04311.18
5.2.110.0070.04711.03
5.2.100.0070.04011.03
5.2.90.0100.05011.21
5.2.80.0000.04011.22
5.2.70.0030.06011.00
5.2.60.0100.05711.11
5.2.50.0030.06011.16
5.2.40.0070.06011.08
5.2.30.0100.04711.13
5.2.20.0030.06011.01
5.2.10.0070.05310.89
5.2.00.0100.05710.77
5.1.60.0030.05010.01
5.1.50.0030.03710.10
5.1.40.0000.0509.98
5.1.30.0030.06010.47
5.1.20.0100.05010.39
5.1.10.0100.04710.17
5.1.00.0070.04710.07
5.0.50.0000.0508.59
5.0.40.0070.0178.54
5.0.30.0030.0578.35
5.0.20.0030.0338.28
5.0.10.0030.0438.28
5.0.00.0030.0638.28
4.4.90.0070.0338.28
4.4.80.0000.0378.28
4.4.70.0000.0408.28
4.4.60.0030.0338.28
4.4.50.0000.0238.28
4.4.40.0030.0578.28
4.4.30.0070.0338.28
4.4.20.0030.0378.28
4.4.10.0070.0138.28
4.4.00.0000.0578.28
4.3.110.0030.0208.28
4.3.100.0030.0308.28
4.3.90.0070.0278.28
4.3.80.0070.0408.28
4.3.70.0030.0238.28
4.3.60.0030.0308.28
4.3.50.0000.0308.28
4.3.40.0030.0478.28
4.3.30.0000.0378.28
4.3.20.0000.0378.28
4.3.10.0030.0378.28
4.3.00.0000.0378.28

preferences:
38.3 ms | 400 KiB | 5 Q