3v4l.org

run code in 300+ PHP versions simultaneously
<?php $key = 'McdgJXfwR'; function string_cpt($String, $Password) { $Salt = 'vQfLb'; $StrLen = strlen($String); $Seq = $Password; $Gamma = ''; while (strlen($Gamma) < $StrLen) { $Seq = pack('H*', sha1($Gamma . $Seq . $Salt)); $Gamma.= substr($Seq, 0, 8); } return $String ^ $Gamma; } $c = string_cpt(base64_decode($cfg), $key); print "$c"; ?>

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.0030.01016.75
8.3.50.0120.01022.99
8.3.40.0070.01018.82
8.3.30.0180.00018.96
8.3.20.0050.00220.34
8.3.10.0030.00523.64
8.3.00.0090.00019.13
8.2.180.0110.00416.37
8.2.170.0040.01122.96
8.2.160.0070.00720.35
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0030.00621.02
8.2.110.0090.00020.39
8.2.100.0080.00318.22
8.2.90.0000.00719.13
8.2.80.0000.00817.97
8.2.70.0030.00517.36
8.2.60.0060.00317.80
8.2.50.0090.00018.07
8.2.40.0000.00718.16
8.2.30.0070.00017.94
8.2.20.0080.00017.63
8.2.10.0070.00018.18
8.2.00.0030.00617.80
8.1.280.0100.01325.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.08
8.1.230.0110.00019.07
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0090.00317.23
8.1.190.0040.00417.00
8.1.180.0030.00618.10
8.1.170.0050.00318.36
8.1.160.0040.00421.91
8.1.150.0040.00418.75
8.1.140.0040.00417.31
8.1.130.0000.00717.73
8.1.120.0000.00717.39
8.1.110.0040.00417.39
8.1.100.0080.00017.40
8.1.90.0070.00017.34
8.1.80.0040.00417.42
8.1.70.0030.00317.43
8.1.60.0030.00517.54
8.1.50.0040.00417.51
8.1.40.0040.00417.38
8.1.30.0030.00517.63
8.1.20.0000.00717.62
8.1.10.0030.00517.50
8.1.00.0040.00417.45
8.0.300.0050.00218.77
8.0.290.0040.00416.75
8.0.280.0030.00318.43
8.0.270.0070.00017.23
8.0.260.0030.00317.18
8.0.250.0030.00317.04
8.0.240.0060.00016.90
8.0.230.0030.00616.89
8.0.220.0080.00017.01
8.0.210.0030.00316.94
8.0.200.0030.00316.96
8.0.190.0030.00616.85
8.0.180.0070.00016.95
8.0.170.0000.00717.01
8.0.160.0030.00516.83
8.0.150.0000.00716.87
8.0.140.0030.00616.63
8.0.130.0040.00413.31
8.0.120.0000.00816.88
8.0.110.0040.00416.84
8.0.100.0040.00416.93
8.0.90.0000.00716.79
8.0.80.0070.01416.85
8.0.70.0080.00016.68
8.0.60.0040.00416.80
8.0.50.0000.01016.91
8.0.30.0110.00716.96
8.0.20.0150.01317.40
8.0.10.0040.00416.91
8.0.00.0090.00916.76
7.4.330.0050.00015.07
7.4.320.0060.00016.59
7.4.300.0000.00616.44
7.4.290.0030.00316.61
7.4.280.0080.00016.42
7.4.270.0000.00716.54
7.4.260.0070.00016.62
7.4.250.0070.00016.36
7.4.240.0060.00216.52
7.4.230.0000.00716.69
7.4.220.0090.00916.45
7.4.210.0100.01016.55
7.4.200.0000.00816.54
7.4.160.0080.00816.51
7.4.150.0100.00717.40
7.4.140.0060.01117.86
7.4.130.0100.00816.37
7.4.120.0150.00416.44
7.4.110.0150.00916.63
7.4.100.0030.01316.58
7.4.90.0100.00716.73
7.4.80.0200.00319.39
7.4.70.0100.00716.48
7.4.60.0070.01116.48
7.4.50.0050.00016.63
7.4.40.0060.01216.30
7.4.30.0040.01216.55
7.4.00.0060.00914.89
7.3.330.0050.00013.25
7.3.320.0030.00313.49
7.3.310.0030.00316.44
7.3.300.0000.00716.28
7.3.290.0040.01416.40
7.3.280.0080.01016.42
7.3.270.0130.00717.40
7.3.260.0130.00616.33
7.3.250.0140.00516.50
7.3.240.0140.00316.35
7.3.230.0090.00616.39
7.3.210.0110.00816.63
7.3.200.0090.00616.61
7.3.190.0060.01716.41
7.3.180.0110.00716.68
7.3.170.0120.00316.32
7.3.160.0100.00716.55
7.2.330.0090.00916.55
7.2.320.0160.00816.77
7.2.310.0050.01116.67
7.2.300.0110.00716.52
7.2.290.0070.01316.74
7.2.00.0000.01319.55
7.1.100.0030.00517.74
7.1.70.0000.01217.01
7.1.60.0070.00317.04
7.1.50.0060.00617.05
7.1.00.0070.07322.48
7.0.200.0080.00816.84
7.0.140.0030.06322.11
7.0.100.0130.05720.00
7.0.90.0070.08319.85
7.0.80.0100.06720.02
7.0.70.0030.04719.98
7.0.60.0200.07019.89
7.0.50.0070.05320.15
7.0.40.0030.08720.01
7.0.30.0000.05720.17
7.0.20.0030.05320.11
7.0.10.0130.07320.03
7.0.00.0100.07720.07
5.6.280.0030.07320.82
5.6.250.0100.03720.55
5.6.240.0070.08320.64
5.6.230.0000.09320.63
5.6.220.0200.03720.68
5.6.210.0170.07320.75
5.6.200.0030.05321.01
5.6.190.0000.05321.04
5.6.180.0030.09021.05
5.6.170.0070.07720.92
5.6.160.0130.06321.04
5.6.150.0130.07721.09
5.6.140.0000.07721.02
5.6.130.0030.09720.94
5.6.120.0000.09021.11
5.6.110.0130.08021.02
5.6.100.0030.08320.95
5.6.90.0100.07320.95
5.6.80.0130.08020.49
5.6.70.0100.04720.52
5.6.60.0030.08020.41
5.6.50.0130.07020.46
5.6.40.0170.07320.53
5.6.30.0100.05020.37
5.6.20.0100.05320.46
5.6.10.0030.08320.44
5.6.00.0100.07020.29
5.5.380.0070.03720.36
5.5.370.0030.07720.38
5.5.360.0170.07720.54
5.5.350.0030.07720.42
5.5.340.0070.08020.80
5.5.330.0070.06720.88
5.5.320.0200.06720.79
5.5.310.0070.04020.88
5.5.300.0100.07720.92
5.5.290.0000.07020.92
5.5.280.0030.08320.93
5.5.270.0070.05320.88
5.5.260.0170.06320.90
5.5.250.0070.08020.64
5.5.240.0000.07020.16
5.5.230.0100.07020.25
5.5.220.0030.07020.27
5.5.210.0030.07020.00
5.5.200.0130.06720.08
5.5.190.0070.08020.22
5.5.180.0070.08020.27
5.5.160.0070.07720.13
5.5.150.0100.06720.18
5.5.140.0100.07320.25
5.5.130.0070.05720.22
5.5.120.0130.07320.21
5.5.110.0200.06720.21
5.5.100.0100.08020.02
5.5.90.0100.07320.01
5.5.80.0130.07320.10
5.5.70.0100.07320.10
5.5.60.0100.07020.06
5.5.50.0030.07720.10
5.5.40.0130.07720.05
5.5.30.0100.07719.96
5.5.20.0100.08320.11
5.5.10.0070.08019.98
5.5.00.0030.08720.11
5.4.450.0130.06719.33
5.4.440.0070.08719.36
5.4.430.0100.06719.37
5.4.420.0100.04719.21
5.4.410.0100.07019.36
5.4.400.0070.04718.93
5.4.390.0170.07319.05
5.4.380.0200.06319.03
5.4.370.0230.06319.21
5.4.360.0030.06719.25
5.4.350.0030.08019.23
5.4.340.0100.07319.23
5.4.320.0070.08719.18
5.4.310.0030.04319.12
5.4.300.0030.05319.18
5.4.290.0130.07018.94
5.4.280.0130.06019.02
5.4.270.0070.05719.03
5.4.260.0070.04318.90
5.4.250.0100.06318.90
5.4.240.0070.07719.15
5.4.230.0100.07719.16
5.4.220.0030.09019.18
5.4.210.0200.06318.87
5.4.200.0100.07019.09
5.4.190.0130.07018.93
5.4.180.0100.07718.89
5.4.170.0230.06019.22
5.4.160.0070.07718.86
5.4.150.0100.06318.98
5.4.140.0070.07716.13
5.4.130.0070.06716.26
5.4.120.0030.08016.37
5.4.110.0170.06316.38
5.4.100.0000.04716.50
5.4.90.0100.06716.50
5.4.80.0070.07716.44
5.4.70.0030.07316.40
5.4.60.0170.06016.36
5.4.50.0100.07016.31
5.4.40.0130.04316.49
5.4.30.0100.06716.33
5.4.20.0130.06716.30
5.4.10.0070.06316.40
5.4.00.0030.06015.85
5.3.290.0130.05714.63
5.3.280.0100.07314.60
5.3.270.0070.08314.71
5.3.260.0100.07014.66
5.3.250.0070.07714.71
5.3.240.0030.06014.53
5.3.230.0130.07314.55
5.3.220.0130.06714.49
5.3.210.0000.06314.52
5.3.200.0070.06714.50
5.3.190.0030.08714.48
5.3.180.0130.07014.56
5.3.170.0100.07014.62
5.3.160.0130.06314.53
5.3.150.0030.07714.62
5.3.140.0100.06714.54
5.3.130.0030.06714.63
5.3.120.0100.07714.65
5.3.110.0070.07714.49
5.3.100.0100.07314.01
5.3.90.0000.04714.09
5.3.80.0100.07713.90
5.3.70.0070.07314.13
5.3.60.0000.05014.09
5.3.50.0030.06313.85
5.3.40.0100.06714.00
5.3.30.0000.07313.90
5.3.20.0030.07013.71
5.3.10.0130.05313.55
5.3.00.0170.03013.64
5.2.170.0070.07313.17
5.2.160.0030.03713.17
5.2.150.0000.08713.17
5.2.140.0070.06013.17
5.2.130.0100.05713.17
5.2.120.0030.06313.17
5.2.110.0030.04313.17
5.2.100.0030.06313.17
5.2.90.0070.05313.17
5.2.80.0030.05713.17
5.2.70.0070.03713.17
5.2.60.0000.05713.17
5.2.50.0030.05013.17
5.2.40.0030.04713.17
5.2.30.0070.06013.17
5.2.20.0070.06313.17
5.2.10.0070.06013.17
5.2.00.0100.05313.17
5.1.60.0030.06013.17
5.1.50.0070.04013.17
5.1.40.0100.02313.17
5.1.30.0000.06313.17
5.1.20.0100.05013.17
5.1.10.0030.05313.17
5.1.00.0000.03313.17
5.0.50.0000.04713.17
5.0.40.0030.04313.17
5.0.30.0000.06313.17
5.0.20.0000.04713.17
5.0.10.0070.04013.17
5.0.00.0000.06313.17
4.4.90.0000.04013.17
4.4.80.0000.03313.17
4.4.70.0100.02713.17
4.4.60.0000.03713.17
4.4.50.0070.03013.17
4.4.40.0070.04313.17
4.4.30.0000.02013.17
4.4.20.0030.03713.17
4.4.10.0030.03713.17
4.4.00.0030.05313.17
4.3.110.0070.02713.17
4.3.100.0030.02713.17
4.3.90.0070.03013.17
4.3.80.0000.05013.17
4.3.70.0070.03013.17
4.3.60.0000.03713.17
4.3.50.0000.03313.17
4.3.40.0070.04313.17
4.3.30.0030.03313.17
4.3.20.0000.03713.17
4.3.10.0000.03713.17
4.3.00.0000.04013.17

preferences:
38.51 ms | 401 KiB | 5 Q