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.0040.01116.73
8.3.50.0140.00722.90
8.3.40.0070.01018.88
8.3.30.0120.00919.23
8.3.20.0070.00020.34
8.3.10.0040.00423.61
8.3.00.0040.00419.50
8.2.180.0090.00616.75
8.2.170.0110.00422.96
8.2.160.0070.00720.35
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0040.00421.09
8.2.110.0090.00020.48
8.2.100.0080.00318.16
8.2.90.0040.00419.35
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0050.00317.93
8.2.50.0030.00618.07
8.2.40.0040.00418.34
8.2.30.0080.00018.13
8.2.20.0000.00817.75
8.2.10.0040.00418.03
8.2.00.0000.00817.74
8.1.280.0070.01525.92
8.1.270.0080.00023.87
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0050.00522.75
8.1.230.0070.00419.67
8.1.220.0080.00017.79
8.1.210.0060.00318.77
8.1.200.0030.00617.23
8.1.190.0040.00416.99
8.1.180.0000.00818.10
8.1.170.0080.00018.66
8.1.160.0040.00422.13
8.1.150.0030.00518.80
8.1.140.0000.00717.51
8.1.130.0030.00517.83
8.1.120.0070.00017.38
8.1.110.0070.00017.46
8.1.100.0040.00417.47
8.1.90.0040.00417.54
8.1.80.0000.00817.53
8.1.70.0080.00017.41
8.1.60.0060.00317.48
8.1.50.0050.00317.54
8.1.40.0040.00417.48
8.1.30.0050.00317.65
8.1.20.0000.00717.57
8.1.10.0040.00417.45
8.1.00.0070.00017.50
8.0.300.0040.00418.77
8.0.290.0000.00916.63
8.0.280.0030.00318.39
8.0.270.0030.00317.27
8.0.260.0000.00617.18
8.0.250.0030.00316.98
8.0.240.0030.00317.00
8.0.230.0070.00016.87
8.0.220.0000.00716.78
8.0.210.0000.00716.81
8.0.200.0030.00316.87
8.0.190.0040.00416.91
8.0.180.0070.00016.97
8.0.170.0000.00816.82
8.0.160.0070.00016.91
8.0.150.0000.00816.88
8.0.140.0090.00016.89
8.0.130.0000.00613.39
8.0.120.0050.00316.90
8.0.110.0050.00316.86
8.0.100.0000.00716.85
8.0.90.0050.00216.71
8.0.80.0070.00716.94
8.0.70.0000.00716.91
8.0.60.0070.00016.78
8.0.50.0030.00516.89
8.0.30.0180.00117.12
8.0.20.0140.00717.40
8.0.10.0050.00316.86
8.0.00.0110.00916.79
7.4.330.0000.00515.00
7.4.320.0070.00016.64
7.4.300.0000.00716.50
7.4.290.0030.00316.45
7.4.280.0040.00416.51
7.4.270.0030.00316.63
7.4.260.0000.00816.43
7.4.250.0000.00816.48
7.4.240.0070.00016.47
7.4.230.0000.00716.45
7.4.220.0060.01316.55
7.4.210.0070.01316.64
7.4.200.0000.00716.39
7.4.160.0140.00316.64
7.4.150.0140.00317.40
7.4.140.0150.00517.86
7.4.130.0090.01116.61
7.4.120.0080.01016.63
7.4.110.0100.01016.65
7.4.100.0040.01416.41
7.4.90.0140.00316.52
7.4.80.0080.01419.39
7.4.70.0000.01516.51
7.4.60.0090.01216.45
7.4.50.0000.00416.45
7.4.40.0070.01716.37
7.4.30.0120.00416.48
7.4.00.0090.00615.02
7.3.330.0000.00513.38
7.3.320.0000.00813.21
7.3.310.0000.00716.23
7.3.300.0070.00016.37
7.3.290.0070.00716.34
7.3.280.0090.00716.35
7.3.270.0060.01217.40
7.3.260.0060.01216.39
7.3.250.0150.00516.39
7.3.240.0060.01216.51
7.3.230.0130.00316.45
7.3.210.0150.00616.21
7.3.200.0160.00719.39
7.3.190.0080.00816.30
7.3.180.0100.00616.45
7.3.170.0060.00916.40
7.3.160.0140.00316.71
7.3.00.0030.00916.67
7.2.330.0040.01416.72
7.2.320.0080.00816.71
7.2.310.0130.00616.64
7.2.300.0100.00616.67
7.2.290.0100.00716.75
7.2.130.0000.00916.88
7.2.120.0060.00916.88
7.2.110.0000.01116.90
7.2.100.0050.00516.93
7.2.90.0070.00316.70
7.2.80.0030.00916.83
7.2.70.0000.01416.66
7.2.60.0000.01316.92
7.2.50.0060.01017.02
7.2.40.0040.00416.96
7.2.30.0060.00317.06
7.2.20.0040.00816.89
7.2.10.0070.00716.98
7.2.00.0020.00918.26
7.1.250.0000.00715.85
7.1.240.0040.00415.59
7.1.230.0000.01115.71
7.1.220.0060.00315.63
7.1.210.0030.00815.75
7.1.200.0050.01015.72
7.1.190.0030.00715.52
7.1.180.0030.00615.59
7.1.170.0060.00915.87
7.1.160.0060.00815.62
7.1.150.0100.00315.86
7.1.140.0040.00415.66
7.1.130.0030.00915.79
7.1.120.0060.00615.79
7.1.110.0060.00316.00
7.1.100.0060.00617.05
7.1.90.0000.01015.62
7.1.80.0000.01415.95
7.1.70.0030.00716.47
7.1.60.0140.00517.67
7.1.50.0030.01116.27
7.1.40.0070.00716.05
7.1.30.0100.00315.87
7.1.20.0030.00615.41
7.1.10.0030.00615.54
7.1.00.0080.03719.07
7.0.330.0030.00615.41
7.0.320.0080.00015.38
7.0.310.0000.01115.38
7.0.300.0030.00915.30
7.0.290.0000.01315.55
7.0.280.0060.00615.32
7.0.270.0030.00715.43
7.0.260.0050.00815.47
7.0.250.0000.00815.38
7.0.240.0030.00615.43
7.0.230.0030.00315.40
7.0.220.0000.00915.37
7.0.210.0080.00315.56
7.0.200.0030.00716.09
7.0.190.0030.00615.54
7.0.180.0070.00415.40
7.0.170.0100.00015.39
7.0.160.0050.00515.61
7.0.150.0000.01015.32
7.0.140.0000.04218.73
7.0.130.0120.00015.51
7.0.120.0000.01215.29
7.0.110.0040.00815.56
7.0.100.0060.00615.30
7.0.90.0040.00815.47
7.0.80.0060.00615.36
7.0.70.0100.00315.62
7.0.60.0050.02617.57
7.0.50.0100.04016.56
7.0.40.0070.02916.85
7.0.30.0170.04516.67
7.0.20.0120.03216.81
7.0.10.0090.04516.85
7.0.00.0060.02116.82
5.6.380.0000.01114.15
5.6.370.0070.00314.44
5.6.360.0100.00314.51
5.6.350.0080.00014.32
5.6.340.0060.00614.34
5.6.330.0070.00314.09
5.6.320.0040.00714.57
5.6.310.0000.00814.48
5.6.300.0080.00014.57
5.6.290.0110.00414.54
5.6.280.0030.04017.72
5.6.270.0100.00014.32
5.6.260.0030.01014.50
5.6.250.0040.01114.45
5.6.240.0030.00614.35
5.6.230.0100.00014.35
5.6.220.0070.00714.33
5.6.210.0020.03217.63
5.6.200.0110.04016.27
5.6.190.0110.04317.52
5.6.180.0110.04817.42
5.6.170.0150.02817.48
5.6.160.0050.02817.40
5.6.150.0050.04316.45
5.6.140.0050.02716.39
5.6.130.0000.04916.37
5.6.120.0080.04317.78
5.6.110.0050.04517.76
5.6.100.0080.03917.66
5.6.90.0050.04517.88
5.6.80.0090.02417.22
5.6.70.0040.01114.32
5.6.60.0030.00913.98
5.6.50.0030.00914.37
5.6.40.0070.00714.34
5.6.30.0120.00414.24
5.6.20.0000.01514.36
5.6.10.0030.00514.18
5.6.00.0030.01014.11
5.5.380.0060.00611.18
5.5.370.0060.00611.18
5.5.360.0070.00311.39
5.5.350.0200.03715.80
5.5.340.0030.04114.61
5.5.330.0050.03215.73
5.5.320.0080.02615.74
5.5.310.0260.03815.73
5.5.300.0050.02314.83
5.5.290.0050.02514.69
5.5.280.0100.03816.08
5.5.270.0130.04016.07
5.5.260.0070.04716.07
5.5.250.0020.03415.90
5.5.240.0030.02115.75
5.5.230.0090.00311.18
5.5.220.0060.00611.24
5.5.210.0040.00811.18
5.5.200.0000.00811.18
5.5.190.0130.00011.18
5.5.180.0040.00411.31
5.5.170.0080.00411.39
5.5.160.0030.00511.18
5.5.150.0050.00511.20
5.5.140.0000.01011.27
5.5.130.0050.00311.18
5.5.120.0000.00711.21
5.5.110.0000.00811.18
5.5.100.0000.00611.18
5.5.90.0060.00311.30
5.5.80.0040.00411.25
5.5.70.0030.00311.18
5.5.60.0070.00011.18
5.5.50.0040.00411.18
5.5.40.0070.00011.18
5.5.30.0000.00611.18
5.5.20.0030.00611.41
5.5.10.0030.00611.22
5.5.00.0060.00611.18
5.4.450.0070.02015.25
5.4.440.0270.02815.19
5.4.430.0080.02315.41
5.4.420.0130.02015.34
5.4.410.0280.02315.27
5.4.400.0130.02515.28
5.4.390.0160.02615.20
5.4.380.0170.03515.02
5.4.370.0230.03315.01
5.4.360.0160.03315.00
5.4.350.0220.03014.90
5.4.340.0120.03414.96
5.4.330.0000.01011.18
5.4.320.0060.02611.84
5.4.310.0040.02811.84
5.4.300.0050.02811.84
5.4.290.0040.02911.84
5.4.280.0110.02311.85
5.4.270.0090.02311.79
5.4.260.0060.02011.79
5.4.250.0050.02211.79
5.4.240.0060.02011.79
5.4.230.0080.01811.84
5.4.220.0090.02111.78
5.4.210.0050.02211.78
5.4.200.0050.02511.78
5.4.190.0070.02311.78
5.4.180.0070.02011.78
5.4.170.0070.02011.79
5.4.160.0040.02211.83
5.4.150.0050.02111.78
5.4.140.0040.02211.62
5.4.130.0070.01811.62
5.4.120.0060.02111.60
5.4.110.0060.02111.60
5.4.100.0080.01911.59
5.4.90.0060.02311.59
5.4.80.0040.02311.60
5.4.70.0070.01811.59
5.4.60.0040.02411.62
5.4.50.0050.02311.59
5.4.40.0030.02211.59
5.4.30.0050.02111.58
5.4.20.0050.02711.65
5.4.10.0090.02211.58
5.4.00.0070.02611.33
5.3.290.0080.02611.99
5.3.280.0060.02811.94
5.3.270.0070.03011.95
5.3.260.0050.02911.95
5.3.250.0070.02611.95
5.3.240.0080.02711.95
5.3.230.0070.02611.94
5.3.220.0070.03011.93
5.3.210.0070.02511.93
5.3.200.0040.02711.93
5.3.190.0090.02611.93
5.3.180.0050.02511.92
5.3.170.0040.03011.92
5.3.160.0070.02611.92
5.3.150.0040.02711.93
5.3.140.0080.02411.92
5.3.130.0070.02811.92
5.3.120.0040.02311.92
5.3.110.0070.02111.92
5.3.100.0040.02311.65
5.3.90.0050.02111.64
5.3.80.0020.02411.63
5.3.70.0050.02211.63
5.3.60.0060.01911.63
5.3.50.0050.02111.60
5.3.40.0010.02511.60
5.3.30.0050.01811.58
5.3.20.0040.02411.47
5.3.10.0040.02311.45
5.3.00.0020.02511.45
5.2.170.0040.01910.20
5.2.160.0040.01810.20
5.2.150.0050.01610.20
5.2.140.0010.02410.19
5.2.130.0070.01410.18
5.2.120.0040.01710.18
5.2.110.0020.01810.18
5.2.100.0050.01410.18
5.2.90.0040.01710.18
5.2.80.0040.01710.18
5.2.70.0060.01610.18
5.2.60.0040.01910.15
5.2.50.0020.01910.13
5.2.40.0070.01510.13
5.2.30.0040.01710.11
5.2.20.0040.01710.11
5.2.10.0020.01810.06
5.2.00.0020.0189.99
5.1.60.0040.0139.63
5.1.50.0050.0149.63
5.1.40.0060.0139.62
5.1.30.0080.0129.79
5.1.20.0050.0159.81
5.1.10.0070.0129.67
5.1.00.0050.0169.67
5.0.50.0040.0128.91
5.0.40.0050.0108.84
5.0.30.0050.0168.75
5.0.20.0020.0138.73
5.0.10.0030.0128.72
5.0.00.0040.0178.71
4.4.90.0010.0117.98
4.4.80.0030.0107.97
4.4.70.0030.0107.97
4.4.60.0030.0087.96
4.4.50.0010.0117.97
4.4.40.0020.0157.94
4.4.30.0040.0097.97
4.4.20.0020.0118.01
4.4.10.0010.0108.01
4.4.00.0010.0167.97
4.3.110.0030.0087.92
4.3.100.0010.0107.92
4.3.90.0020.0137.90
4.3.80.0020.0147.88
4.3.70.0030.0087.90
4.3.60.0040.0117.90
4.3.50.0020.0117.90
4.3.40.0030.0147.86
4.3.30.0010.0117.24
4.3.20.0030.0107.23
4.3.10.0020.0097.21
4.3.00.0040.01213.41

preferences:
53.21 ms | 401 KiB | 5 Q