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; } ?>

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.60.0070.01118.18
8.3.50.0150.00521.21
8.3.40.0070.00718.50
8.3.30.0130.00020.34
8.3.20.0000.00820.41
8.3.10.0040.00420.72
8.3.00.0080.00023.53
8.2.180.0100.01016.38
8.2.170.0070.01122.96
8.2.160.0030.01320.43
8.2.150.0000.00824.18
8.2.140.0070.00024.66
8.2.130.0080.00026.16
8.2.120.0080.00021.04
8.2.110.0040.00419.30
8.2.100.0100.00317.66
8.2.90.0050.00319.14
8.2.80.0060.00317.97
8.2.70.0000.00917.38
8.2.60.0030.00517.79
8.2.50.0050.00318.07
8.2.40.0000.00818.09
8.2.30.0030.00319.44
8.2.20.0040.00417.57
8.2.10.0070.00017.44
8.2.00.0000.00817.50
8.1.280.0040.01125.92
8.1.270.0040.00423.99
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0030.00623.96
8.1.230.0080.00420.88
8.1.220.0080.00018.77
8.1.210.0050.00319.03
8.1.200.0060.00317.23
8.1.190.0000.00817.27
8.1.180.0000.00818.10
8.1.170.0000.00818.46
8.1.160.0040.00418.75
8.1.150.0040.00418.51
8.1.140.0040.00417.38
8.1.130.0030.00317.78
8.1.120.0040.00417.41
8.1.110.0040.00417.36
8.1.100.0030.00417.33
8.1.90.0050.00317.25
8.1.80.0000.00717.25
8.1.70.0020.00517.32
8.1.60.0000.00917.36
8.1.50.0070.00017.32
8.1.40.0000.00717.27
8.1.30.0030.00517.34
8.1.20.0000.00817.41
8.1.10.0070.00017.25
8.1.00.0000.00817.25
8.0.300.0040.00419.85
8.0.290.0000.00817.04
8.0.280.0030.00318.32
8.0.270.0030.00317.07
8.0.260.0000.00816.59
8.0.250.0000.00716.71
8.0.240.0000.00916.84
8.0.230.0000.00716.89
8.0.220.0070.00016.64
8.0.210.0030.00316.83
8.0.200.0070.00016.84
8.0.190.0040.00416.73
8.0.180.0000.00716.79
8.0.170.0040.00416.83
8.0.160.0030.00316.70
8.0.150.0000.00716.67
8.0.140.0000.00716.73
8.0.130.0030.00313.24
8.0.120.0060.00316.76
8.0.110.0040.00416.74
8.0.100.0070.00016.64
8.0.90.0040.00416.72
8.0.80.0030.01316.77
8.0.70.0020.00516.72
8.0.60.0030.00516.81
8.0.50.0000.00716.62
8.0.30.0130.00616.81
8.0.20.0130.00517.40
8.0.10.0040.00416.82
8.0.00.0170.00416.59
7.4.330.0030.00316.75
7.4.320.0060.00016.46
7.4.300.0000.00616.40
7.4.290.0070.00016.50
7.4.280.0030.00316.38
7.4.270.0050.00216.36
7.4.260.0020.00213.15
7.4.250.0040.00416.26
7.4.240.0000.00716.31
7.4.230.0000.00816.31
7.4.220.0140.00716.48
7.4.210.0070.01016.47
7.4.200.0030.00316.27
7.4.190.0040.00416.38
7.4.160.0100.00716.14
7.4.150.0110.00617.40
7.4.140.0120.00517.86
7.4.130.0110.00616.45
7.4.120.0130.00616.38
7.4.110.0090.00916.22
7.4.100.0170.00016.42
7.4.90.0060.01616.32
7.4.80.0110.00719.39
7.4.70.0090.00616.25
7.4.60.0120.00916.54
7.4.50.0040.00416.22
7.4.40.0110.00722.77
7.4.30.0070.01016.45
7.4.00.0060.01215.06
7.3.330.0030.00313.18
7.3.320.0030.00312.96
7.3.310.0000.00716.24
7.3.300.0030.00316.13
7.3.290.0070.01416.10
7.3.280.0090.00716.14
7.3.270.0080.00817.40
7.3.260.0100.01718.24
7.3.250.0070.01316.19
7.3.240.0030.01316.43
7.3.230.0070.01016.44
7.3.210.0140.00616.32
7.3.200.0060.01619.39
7.3.190.0160.00016.22
7.3.180.0170.00316.45
7.3.170.0160.00316.27
7.3.160.0070.01016.35
7.3.120.0030.01214.67
7.2.330.0080.00916.68
7.2.320.0070.01016.48
7.2.310.0150.00516.62
7.2.300.0060.01616.45
7.2.290.0060.01116.36
7.1.70.0000.01017.08
7.1.60.0110.01419.17
7.1.50.0000.01116.80
7.1.00.0000.03722.45
7.0.200.0000.00716.54
7.0.140.0070.06322.19
7.0.100.0430.04719.94
7.0.90.0270.04319.99
7.0.80.0430.04320.00
7.0.70.0330.04719.96
7.0.60.0600.08019.96
7.0.50.0400.06020.33
7.0.40.0100.07720.14
7.0.30.0130.07720.14
7.0.20.0070.08020.07
7.0.10.0130.06720.09
7.0.00.0000.08720.07
5.6.280.0000.07320.79
5.6.250.0200.06320.79
5.6.240.0070.04020.68
5.6.230.0000.04320.73
5.6.220.0030.08320.60
5.6.210.0030.05320.64
5.6.200.0070.07720.93
5.6.190.0100.05020.97
5.6.180.0070.07320.97
5.6.170.0100.07021.01
5.6.160.0070.07021.05
5.6.150.0070.08720.95
5.6.140.0070.09021.05
5.6.130.0130.06321.03
5.6.120.0070.08721.12
5.6.110.0170.08021.17
5.6.100.0100.07721.00
5.6.90.0230.06721.02
5.6.80.0230.06320.34
5.6.70.0100.08020.52
5.6.60.0070.06320.34
5.6.50.0200.03320.54
5.6.40.0100.08320.53
5.6.30.0130.06020.47
5.6.20.0100.06720.30
5.6.10.0000.08320.32
5.6.00.0100.06320.40
5.5.380.0070.05720.41
5.5.370.0100.03320.58
5.5.360.0130.07720.32
5.5.350.0030.08320.41
5.5.340.0070.04320.90
5.5.330.0030.08720.81
5.5.320.0030.08720.87
5.5.310.0070.06020.85
5.5.300.0030.08320.90
5.5.290.0070.06720.92
5.5.280.0130.07320.89
5.5.270.0170.05720.82
5.5.260.0100.08020.75
5.5.250.0200.06320.46
5.5.240.0030.07720.25
5.5.230.0130.07020.21
5.5.220.0030.04720.30
5.5.210.0170.07320.26
5.5.200.0070.08320.19
5.5.190.0070.07720.26
5.5.180.0070.08320.28
5.5.160.0130.05720.25
5.5.150.0130.07720.23
5.5.140.0100.07319.98
5.5.130.0170.06720.14
5.5.120.0170.06720.22
5.5.110.0100.07320.28
5.5.100.0170.07020.17
5.5.90.0030.08320.18
5.5.80.0100.06720.04
5.5.70.0130.06720.11
5.5.60.0170.07320.14
5.5.50.0130.07720.10
5.5.40.0130.05720.04
5.5.30.0100.06320.04
5.5.20.0170.07020.06
5.5.10.0070.07720.06
5.5.00.0070.04020.08
5.4.450.0000.08019.20
5.4.440.0070.05319.36
5.4.430.0070.07019.36
5.4.420.0070.08019.36
5.4.410.0100.08019.32
5.4.400.0130.07018.89
5.4.390.0030.07718.89
5.4.380.0100.05019.16
5.4.370.0030.07018.89
5.4.360.0100.07019.18
5.4.350.0070.07319.04
5.4.340.0070.07019.04
5.4.320.0070.04719.05
5.4.310.0130.03719.13
5.4.300.0070.05018.85
5.4.290.0030.08319.13
5.4.280.0100.06719.12
5.4.270.0000.08719.03
5.4.260.0100.07019.18
5.4.250.0070.08019.04
5.4.240.0030.06319.16
5.4.230.0100.06319.12
5.4.220.0100.05719.19
5.4.210.0100.03318.89
5.4.200.0100.06019.18
5.4.190.0070.04019.13
5.4.180.0130.06719.12
5.4.170.0070.06718.94
5.4.160.0170.05318.88
5.4.150.0130.05319.11
5.4.140.0130.06316.47
5.4.130.0030.05016.51
5.4.120.0030.04716.26
5.4.110.0030.07716.57
5.4.100.0100.06716.55
5.4.90.0030.07016.49
5.4.80.0070.06716.36
5.4.70.0000.07316.43
5.4.60.0030.04716.44
5.4.50.0070.06716.48
5.4.40.0030.07316.57
5.4.30.0070.07016.46
5.4.20.0100.06716.48
5.4.10.0070.06716.45
5.4.00.0030.07315.91
5.3.290.0030.07314.78
5.3.280.0030.08314.54
5.3.270.0130.06714.76
5.3.260.0030.04014.65
5.3.250.0030.07314.69
5.3.240.0070.07314.72
5.3.230.0070.05014.69
5.3.220.0070.07314.66
5.3.210.0100.06014.49
5.3.200.0130.05714.73
5.3.190.0030.04714.65
5.3.180.0170.06314.72
5.3.170.0100.06314.61
5.3.160.0070.05014.54
5.3.150.0130.06314.65
5.3.140.0170.06014.67
5.3.130.0100.06314.60
5.3.120.0070.07314.56
5.3.110.0130.07314.54
5.3.100.0030.07714.12
5.3.90.0070.07313.97
5.3.80.0070.04713.93
5.3.70.0030.04314.09
5.3.60.0200.06314.01
5.3.50.0170.07013.88
5.3.40.0070.05313.95
5.3.30.0130.03714.05
5.3.20.0100.07313.77
5.3.10.0070.04013.73
5.3.00.0070.07313.57
5.2.170.0100.05011.22
5.2.160.0030.04011.19
5.2.150.0030.04011.17
5.2.140.0100.06311.16
5.2.130.0070.04311.25
5.2.120.0000.05311.18
5.2.110.0000.03311.01
5.2.100.0000.06311.24
5.2.90.0070.06311.14
5.2.80.0030.06311.03
5.2.70.0030.06011.14
5.2.60.0000.07011.14
5.2.50.0030.06311.04
5.2.40.0070.06010.89
5.2.30.0000.06711.13
5.2.20.0070.06011.00
5.2.10.0070.04710.91
5.2.00.0070.05710.61
5.1.60.0000.05310.09
5.1.50.0030.03310.01
5.1.40.0070.04710.06
5.1.30.0030.03310.28
5.1.20.0030.05310.44
5.1.10.0070.02710.15
5.1.00.0000.05310.17
5.0.50.0030.02710.01
5.0.40.0100.03710.01
5.0.30.0100.04310.01
5.0.20.0000.02310.01
5.0.10.0000.02010.01
5.0.00.0030.03710.01
4.4.90.0000.04010.01
4.4.80.0030.03710.01
4.4.70.0030.03710.01
4.4.60.0000.03710.01
4.4.50.0000.03710.01
4.4.40.0070.05010.01
4.4.30.0030.03710.01
4.4.20.0030.02310.01
4.4.10.0030.01310.01
4.4.00.0100.01710.01
4.3.110.0000.01710.01
4.3.100.0000.01710.01
4.3.90.0000.01710.01
4.3.80.0030.02710.01
4.3.70.0000.01710.01
4.3.60.0030.01310.01
4.3.50.0030.01310.01
4.3.40.0070.02010.01
4.3.30.0000.01710.01
4.3.20.0030.01310.01
4.3.10.0000.01710.01
4.3.00.0030.01010.01

preferences:
56.52 ms | 401 KiB | 5 Q