3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cfg = 'VkYp25A4ykSxCqTKbbX1sOtTVYsphcF6hJ4bIB88Sm2DKQ/LjbSAQTq9+5N3IzfHIwdOeEHRFmHyEGryWqBty1faQ7yAjpttVhyUG+D5y20DCpbNt9j8QyqyS8+KbMhXvX0BN3iLJpwih/yTCnWyYZFw2RZy05or+nI+72iHSQJNFdsCseHCuTMeZa0PidNmXU5l3ehDLnzutD8N5pc2UTyBC5g0TKNvwZwTS5H3y3mnZifFf7G/mq7PeyEE0Plniq51CrCAT0QyWFDc6VaRHHP0PyGI'; ?> $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.0170.00316.50
8.3.50.0100.01022.88
8.3.40.0070.01018.89
8.3.30.0120.00918.98
8.3.20.0070.00020.21
8.3.10.0040.00423.52
8.3.00.0060.00319.25
8.2.180.0040.01116.75
8.2.170.0110.00422.96
8.2.160.0070.01018.91
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00420.95
8.2.110.0000.00920.54
8.2.100.0080.00318.09
8.2.90.0050.00319.27
8.2.80.0000.00817.97
8.2.70.0000.00817.59
8.2.60.0040.00418.04
8.2.50.0060.00318.07
8.2.40.0040.00418.01
8.2.30.0000.00818.00
8.2.20.0040.00417.50
8.2.10.0020.00517.97
8.2.00.0070.00017.55
8.1.280.0110.00425.92
8.1.270.0060.00323.91
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0030.00622.66
8.1.230.0040.00719.61
8.1.220.0030.00617.74
8.1.210.0030.00518.77
8.1.200.0090.00017.23
8.1.190.0050.00317.11
8.1.180.0000.00718.10
8.1.170.0040.00418.51
8.1.160.0050.00321.96
8.1.150.0040.00418.88
8.1.140.0070.00017.41
8.1.130.0030.00317.84
8.1.120.0030.00317.34
8.1.110.0040.00417.38
8.1.100.0070.00017.40
8.1.90.0040.00417.41
8.1.80.0040.00317.24
8.1.70.0030.00317.29
8.1.60.0060.00317.52
8.1.50.0060.00317.36
8.1.40.0030.00517.35
8.1.30.0040.00417.55
8.1.20.0070.00017.52
8.1.10.0050.00217.41
8.1.00.0070.00017.30
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0040.00418.39
8.0.270.0030.00317.18
8.0.260.0040.00417.36
8.0.250.0000.00616.89
8.0.240.0030.00316.79
8.0.230.0000.00816.77
8.0.220.0030.00316.84
8.0.210.0030.00316.81
8.0.200.0060.00016.73
8.0.190.0040.00416.89
8.0.180.0040.00416.88
8.0.170.0050.00216.89
8.0.160.0030.00316.82
8.0.150.0000.00816.75
8.0.140.0070.00416.75
8.0.130.0080.00013.25
8.0.120.0080.00016.83
8.0.110.0040.00416.68
8.0.100.0000.00816.82
8.0.90.0040.00416.89
8.0.80.0030.01216.84
8.0.70.0040.00416.63
8.0.60.0040.00416.85
8.0.50.0000.00716.82
8.0.30.0120.01417.26
8.0.20.0110.01017.40
8.0.10.0000.00716.90
8.0.00.0130.00716.78
7.4.330.0000.00515.01
7.4.320.0060.00016.30
7.4.300.0040.00416.40
7.4.290.0000.00716.37
7.4.280.0000.00716.55
7.4.270.0000.00716.48
7.4.260.0060.00316.51
7.4.250.0030.00316.46
7.4.240.0040.00316.53
7.4.230.0030.00316.44
7.4.220.0190.00316.48
7.4.210.0090.00616.63
7.4.200.0020.00516.19
7.4.160.0110.00616.44
7.4.150.0120.00617.40
7.4.140.0090.00817.86
7.4.130.0100.00716.50
7.4.120.0120.00516.40
7.4.110.0070.01416.57
7.4.100.0070.01016.34
7.4.90.0120.00616.36
7.4.80.0060.01519.39
7.4.70.0050.01116.52
7.4.60.0130.00716.55
7.4.50.0050.00016.57
7.4.40.0190.00616.54
7.4.30.0100.00616.39
7.4.00.0070.01015.05
7.3.330.0030.00313.07
7.3.320.0040.00412.97
7.3.310.0050.00315.98
7.3.300.0000.00716.02
7.3.290.0090.00816.11
7.3.280.0050.01216.12
7.3.270.0140.00317.40
7.3.260.0070.01316.18
7.3.250.0080.01116.35
7.3.240.0140.00616.46
7.3.230.0120.00716.39
7.3.210.0090.00616.51
7.3.200.0030.01516.13
7.3.190.0130.00916.16
7.3.180.0090.00916.40
7.3.170.0080.00816.31
7.3.160.0120.00616.11
7.2.330.0100.01216.56
7.2.320.0090.00916.59
7.2.310.0090.00616.51
7.2.300.0070.01116.25
7.2.290.0120.00616.34
7.2.00.0000.01219.33
7.1.100.0030.00917.93
7.1.70.0030.00317.13
7.1.60.0090.01519.40
7.1.50.0110.01416.82
7.1.00.0030.07722.30
7.0.200.0000.00716.55
7.0.140.0070.07022.07
7.0.70.0100.07721.65
7.0.60.0070.08721.76
7.0.50.0030.09022.09
7.0.40.0030.08720.13
7.0.30.0070.08020.03
7.0.20.0030.06020.09
7.0.10.0100.07320.16
7.0.00.0130.07320.09
5.6.220.0070.06020.73
5.6.210.0070.04720.59
5.6.200.0000.07021.11
5.6.190.0030.08021.04
5.6.180.0030.08721.05
5.6.170.0100.07021.07
5.6.160.0030.08720.95
5.6.150.0070.08020.95
5.6.140.0100.08321.10
5.6.130.0070.06021.00
5.6.120.0000.09720.92
5.6.110.0070.04321.11
5.6.100.0030.04321.09
5.6.90.0030.04720.99
5.6.80.0000.04020.51
5.6.70.0100.03320.47
5.6.60.0070.03320.30
5.6.50.0070.03320.48
5.6.40.0070.03320.29
5.6.30.0030.04020.46
5.6.20.0030.03020.29
5.6.10.0070.02720.31
5.6.00.0000.04320.41
5.5.360.0070.09020.43
5.5.350.0000.09020.46
5.5.340.0000.07020.89
5.5.330.0070.08020.86
5.5.320.0100.08020.92
5.5.310.0030.08020.91
5.5.300.0030.08320.85
5.5.290.0030.07320.76
5.5.280.0100.08320.89
5.5.270.0030.05320.89
5.5.260.0030.06720.70
5.5.250.0030.05720.56
5.5.240.0070.04720.28
5.5.230.0070.03720.30
5.5.220.0000.05320.14
5.5.210.0030.03720.17
5.5.200.0000.04320.11
5.5.190.0070.06020.21
5.5.180.0000.03720.23
5.5.160.0030.03320.26
5.5.150.0030.03720.25
5.5.140.0070.03320.22
5.5.130.0000.06720.25
5.5.120.0000.04020.20
5.5.110.0000.04020.11
5.5.100.0030.03720.06
5.5.90.0000.04020.00
5.5.80.0000.04020.06
5.5.70.0030.04020.11
5.5.60.0000.03319.91
5.5.50.0030.06320.14
5.5.40.0030.06020.07
5.5.30.0000.04320.04
5.5.20.0030.03720.06
5.5.10.0030.03320.01
5.5.00.0000.04320.09
5.4.450.0070.04719.47
5.4.440.0030.05719.59
5.4.430.0000.05719.13
5.4.420.0100.03719.44
5.4.410.0070.03319.22
5.4.400.0000.04019.23
5.4.390.0030.06719.03
5.4.380.0130.03718.97
5.4.370.0030.03319.07
5.4.360.0030.04318.98
5.4.350.0030.05319.10
5.4.340.0030.03718.98
5.4.320.0000.04018.81
5.4.310.0000.03719.13
5.4.300.0000.03719.06
5.4.290.0030.04319.02
5.4.280.0070.03319.02
5.4.270.0000.03719.11
5.4.260.0000.04719.07
5.4.250.0070.02719.22
5.4.240.0030.03719.14
5.4.230.0000.04318.89
5.4.220.0000.04718.96
5.4.210.0000.06319.02
5.4.200.0000.03318.96
5.4.190.0000.05319.06
5.4.180.0000.03319.18
5.4.170.0030.04019.05
5.4.160.0030.03319.10
5.4.150.0030.03019.22
5.4.140.0000.03716.12
5.4.130.0030.03316.36
5.4.120.0000.03716.36
5.4.110.0000.07016.33
5.4.100.0070.03016.42
5.4.90.0000.03016.23
5.4.80.0000.03016.42
5.4.70.0000.04716.26
5.4.60.0030.07016.38
5.4.50.0100.06716.19
5.4.40.0030.03716.25
5.4.30.0070.07716.38
5.4.20.0100.06316.22
5.4.10.0070.07716.15
5.4.00.0100.06715.57
5.3.290.0000.03714.63
5.3.280.0000.03714.59
5.3.270.0000.04014.59
5.3.260.0000.03714.43
5.3.250.0000.03714.43
5.3.240.0030.03314.45
5.3.230.0100.02714.45
5.3.220.0000.03314.51
5.3.210.0030.03314.56
5.3.200.0030.03314.55
5.3.190.0000.03714.54
5.3.180.0000.03714.41
5.3.170.0030.04014.55
5.3.160.0070.04314.56
5.3.150.0070.04714.50
5.3.140.0030.07314.54
5.3.130.0030.05014.55
5.3.120.0030.07014.52
5.3.110.0030.06014.49
5.3.100.0030.07314.00
5.3.90.0030.07014.01
5.3.80.0030.05313.87
5.3.70.0130.06313.98
5.3.60.0070.07713.79
5.3.50.0000.08013.80
5.3.40.0030.07313.87
5.3.30.0100.06313.76
5.3.20.0000.06713.62
5.3.10.0070.07313.61
5.3.00.0030.07313.64
5.2.170.0100.04712.22
5.2.160.0030.05712.22
5.2.150.0070.02712.22
5.2.140.0000.03712.22
5.2.130.0070.06012.22
5.2.120.0000.04312.22
5.2.110.0000.04712.22
5.2.100.0070.05712.22
5.2.90.0030.06312.22
5.2.80.0030.06312.22
5.2.70.0070.04012.22
5.2.60.0000.06312.22
5.2.50.0000.05012.22
5.2.40.0030.04712.22
5.2.30.0030.06012.22
5.2.20.0030.05712.22
5.2.10.0030.04312.22
5.2.00.0000.06312.22
5.1.60.0000.06012.22
5.1.50.0070.05012.22
5.1.40.0070.02712.22
5.1.30.0030.03312.22
5.1.20.0070.05312.22
5.1.10.0000.05712.22
5.1.00.0000.06012.22
5.0.50.0000.04712.22
5.0.40.0000.04312.22
5.0.30.0030.06712.22
5.0.20.0000.04312.22
5.0.10.0000.04312.22
5.0.00.0000.04312.22
4.4.90.0000.03712.22
4.4.80.0000.04012.22
4.4.70.0000.02012.22
4.4.60.0000.02012.22
4.4.50.0030.03312.22
4.4.40.0000.03712.22
4.4.30.0000.03312.22
4.4.20.0030.02312.22
4.4.10.0000.03712.22
4.4.00.0070.05012.22
4.3.110.0000.03712.22
4.3.100.0000.02312.22
4.3.90.0030.02712.22
4.3.80.0000.05312.22
4.3.70.0000.03312.22
4.3.60.0000.03012.22
4.3.50.0000.03712.22
4.3.40.0000.05712.22
4.3.30.0030.03312.22
4.3.20.0000.03312.22
4.3.10.0000.02312.22
4.3.00.0030.02712.22

preferences:
51.12 ms | 401 KiB | 5 Q