3v4l.org

run code in 300+ PHP versions simultaneously
<?php $iterations = 10; $length = 0; $hash1 = hash_pbkdf2('sha1', 'plnlrtfpijpuhqylxbgqiiyipieyxvfsavzgxbbcfusqkozwpngsyejqlmjsytrmd', 'abcdefghijklmnop', $iterations, $length); $hash2 = hash_pbkdf2('sha1', "eBkXQTfuBqp'cTcar&g*", '1234567890123456', $iterations, $length); var_dump($hash1 === $hash2);

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.0000.01418.30
8.3.50.0090.01022.13
8.3.40.0100.01018.71
8.3.30.0070.01018.88
8.3.20.0040.00420.34
8.3.10.0090.00022.08
8.3.00.0080.00022.66
8.2.180.0080.00816.32
8.2.170.0110.00422.96
8.2.160.0030.01020.35
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0120.00626.16
8.2.120.0040.00719.23
8.2.110.0000.00822.13
8.2.100.0080.00319.52
8.2.90.0000.00719.05
8.2.80.0080.00018.02
8.2.70.0000.00817.75
8.2.60.0000.00817.93
8.2.50.0090.00018.07
8.2.40.0000.00718.09
8.2.30.0020.00518.07
8.2.20.0060.00317.54
8.2.10.0050.00217.77
8.2.00.0030.00617.73
8.1.280.0090.00625.92
8.1.270.0090.00022.17
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00323.79
8.1.230.0070.00419.22
8.1.220.0060.00317.78
8.1.210.0080.00018.77
8.1.200.0000.01017.35
8.1.190.0000.00817.53
8.1.180.0050.00318.70
8.1.170.0040.00418.65
8.1.160.0040.00422.25
8.1.150.0000.00718.66
8.1.140.0040.00417.44
8.1.130.0000.00817.90
8.1.120.0080.00017.49
8.1.110.0000.00717.48
8.1.100.0070.00017.53
8.1.90.0040.00417.44
8.1.80.0040.00417.36
8.1.70.0050.00317.45
8.1.60.0080.00017.55
8.1.50.0050.00217.54
8.1.40.0000.00817.58
8.1.30.0040.00417.61
8.1.20.0030.00517.69
8.1.10.0050.00317.48
8.1.00.0070.00017.52
8.0.300.0020.00518.77
8.0.290.0070.00017.18
8.0.280.0050.00218.32
8.0.270.0030.00317.21
8.0.260.0000.00616.68
8.0.250.0000.00816.96
8.0.240.0030.00616.86
8.0.230.0070.00016.95
8.0.220.0040.00416.90
8.0.210.0070.00016.92
8.0.200.0030.00317.02
8.0.190.0040.00416.83
8.0.180.0000.00816.82
8.0.170.0020.00516.88
8.0.160.0050.00316.78
8.0.150.0070.00016.73
8.0.140.0070.00416.90
8.0.130.0000.00513.33
8.0.120.0080.00016.75
8.0.110.0020.00516.96
8.0.100.0040.00416.83
8.0.90.0000.00816.77
8.0.80.0090.00916.93
8.0.70.0000.00716.96
8.0.60.0070.00016.86
8.0.50.0000.00716.86
8.0.30.0100.01017.24
8.0.20.0160.00617.40
8.0.10.0040.00416.85
8.0.00.0090.01016.52
7.4.330.0000.00515.00
7.4.320.0040.00416.58
7.4.300.0000.00616.65
7.4.290.0040.00416.58
7.4.280.0000.00616.57
7.4.270.0040.00416.59
7.4.260.0040.00416.55
7.4.250.0040.00416.47
7.4.240.0050.00216.59
7.4.230.0000.00716.70
7.4.220.0070.01116.54
7.4.210.0050.01016.58
7.4.200.0030.00416.42
7.4.190.0000.00716.52
7.4.160.0150.00316.75
7.4.150.0130.00317.40
7.4.140.0140.00517.86
7.4.130.0060.01616.51
7.4.120.0120.00816.48
7.4.110.0140.00316.42
7.4.100.0070.01016.50
7.4.90.0100.00716.62
7.4.80.0070.01319.39
7.4.70.0040.01816.47
7.4.60.0000.01616.57
7.4.50.0000.00816.59
7.4.40.0090.00622.77
7.4.30.0160.00016.53
7.4.00.0060.00814.79
7.3.330.0030.00313.17
7.3.320.0030.00313.00
7.3.310.0050.00216.23
7.3.300.0000.00716.27
7.3.290.0100.01016.27
7.3.280.0100.00916.27
7.3.270.0060.01117.40
7.3.260.0040.01616.51
7.3.250.0110.00616.49
7.3.240.0050.01316.20
7.3.230.0090.00916.62
7.3.210.0030.01316.46
7.3.200.0090.00719.39
7.3.190.0120.01016.21
7.3.180.0030.01316.22
7.3.170.0090.01016.31
7.3.160.0090.00616.49
7.3.120.0070.00715.04
7.3.10.0090.00316.45
7.3.00.0090.00916.36
7.2.330.0060.01216.75
7.2.320.0140.00716.53
7.2.310.0110.00716.38
7.2.300.0130.00316.57
7.2.290.0060.00916.57
7.2.130.0030.01016.66
7.2.120.0030.01016.73
7.2.110.0070.00716.48
7.2.100.0100.00316.89
7.2.90.0060.00316.63
7.2.80.0070.00916.84
7.2.70.0090.00316.75
7.2.60.0080.00616.68
7.2.50.0060.00316.70
7.2.40.0000.01416.52
7.2.30.0060.00616.74
7.2.20.0000.01716.50
7.2.10.0140.00316.68
7.2.00.0060.00718.12
7.1.250.0000.00915.53
7.1.200.0060.00315.85
7.1.100.0100.00017.86
7.1.70.0000.00817.14
7.1.60.0110.00017.13
7.1.50.0070.01316.61
7.1.00.0030.06722.42
7.0.200.0040.00416.81
7.0.140.0030.07321.95
7.0.60.0030.05019.90
7.0.50.0000.04017.79
7.0.40.0100.08320.26
7.0.30.0230.04720.17
7.0.20.0370.05020.16
7.0.10.0230.08720.13
7.0.00.0130.08020.19
5.6.280.0070.06721.07
5.6.210.0070.06020.64
5.6.200.0070.08018.05
5.6.190.0070.05320.57
5.6.180.3900.03320.56
5.6.170.0370.07020.41
5.6.160.0070.05320.46
5.6.150.0070.08318.12
5.6.140.0100.04318.11
5.6.130.0070.08718.18
5.6.120.0030.05720.86
5.6.110.0030.09721.03
5.6.100.0070.07320.95
5.6.90.0070.07321.07
5.6.80.0170.07320.38
5.6.70.0270.06720.41
5.5.350.0030.07720.34
5.5.340.0070.03717.96
5.5.330.0030.06320.21
5.5.320.0130.04320.26
5.5.310.0200.04020.29
5.5.300.0130.04017.91
5.5.290.0070.08717.96
5.5.280.0070.06720.67
5.5.270.0030.06320.64
5.5.260.0170.08720.96
5.5.250.0100.07720.77
5.5.240.0030.03720.18
5.4.450.0700.05319.23
5.4.440.0700.06319.47
5.4.430.0670.06019.50
5.4.420.0100.05319.59
5.4.410.0770.06319.50
5.4.400.0230.05718.76
5.4.390.0470.05718.67
5.4.380.0300.05318.74
5.4.370.0100.05318.49
5.4.360.0170.05018.67
5.4.350.0230.04718.64
5.4.340.0100.05718.68
5.4.320.0030.03912.45
5.4.310.0060.04412.45
5.4.300.0060.04112.45
5.4.290.0080.04212.45
5.4.280.0040.03712.35
5.4.270.0060.04012.35
5.4.260.0100.06318.83
5.4.250.0100.07318.93
5.4.240.0100.05718.99
5.4.230.0130.08018.95
5.4.220.0100.05318.70
5.4.210.0100.07718.70
5.4.200.0070.05718.77
5.4.190.0070.07018.87
5.4.180.0000.06318.67
5.4.170.0200.06018.73
5.4.160.0200.04718.84
5.4.150.0170.05718.84
5.4.140.0100.05716.30
5.4.130.0130.04716.25
5.4.120.0070.07716.27
5.4.110.0000.06316.47
5.4.100.0270.04316.48
5.4.90.0100.04716.45
5.4.80.0100.05316.20
5.4.70.0130.07016.29
5.4.60.0130.07016.36
5.4.50.0100.05316.33
5.4.40.0100.05016.23
5.4.30.0170.05716.32
5.4.20.0130.07316.32
5.4.10.0070.05316.45
5.4.00.0070.05315.70
5.3.290.0090.04312.80
5.3.280.0070.05714.74
5.3.270.0070.07714.32
5.3.260.0170.06314.76
5.3.250.0070.08014.64
5.3.240.0070.05314.75
5.3.230.0100.06714.52
5.3.220.0130.06714.40
5.3.210.0130.05314.57
5.3.200.0130.05314.26
5.3.190.0200.05314.57
5.3.180.0130.04714.41
5.3.170.0070.05014.42
5.3.160.0070.06014.57
5.3.150.0130.06714.65
5.3.140.0200.05014.46
5.3.130.0200.06314.32
5.3.120.0030.05714.59
5.3.110.0070.05714.57
5.3.100.0070.07713.95
5.3.90.0070.05013.88
5.3.80.0130.04714.02
5.3.70.0170.04013.96
5.3.60.0170.04714.04
5.3.50.0030.05314.10
5.3.40.0030.05713.79
5.3.30.0130.06013.76
5.3.20.0100.05713.61
5.3.10.0070.05013.53
5.3.00.0070.05713.33
5.2.170.0030.06711.16
5.2.160.0030.04711.03
5.2.150.0030.04311.06
5.2.140.0170.03311.04
5.2.130.0070.04311.25
5.2.120.0170.04010.93
5.2.110.0100.05011.02
5.2.100.0030.05311.11
5.2.90.0100.06711.11
5.2.80.0070.06310.99
5.2.70.0070.04311.00
5.2.60.0070.05710.88
5.2.50.0070.04011.04
5.2.40.0030.04010.91
5.2.30.0100.03710.99
5.2.20.0070.04011.05
5.2.10.0070.05310.94
5.2.00.0100.04010.61
5.1.60.0030.03710.06
5.1.50.0030.04710.14
5.1.40.0070.0309.82
5.1.30.0070.04310.33
5.1.20.0030.05710.35
5.1.10.0070.05010.02
5.1.00.0100.0309.98
5.0.50.0100.0278.69
5.0.40.0000.0308.60
5.0.30.0070.0538.30
5.0.20.0000.0308.28
5.0.10.0070.0238.23
5.0.00.0070.0378.14
4.4.90.0000.0307.47
4.4.80.0070.0207.47
4.4.70.0000.0237.47
4.4.60.0000.0307.47
4.4.50.0030.0307.47
4.4.40.0000.0377.47
4.4.30.0000.0307.47
4.4.20.0070.0237.47
4.4.10.0030.0207.47
4.4.00.0000.0337.47
4.3.110.0000.0237.47
4.3.100.0030.0207.47
4.3.90.0030.0207.47
4.3.80.0000.0337.47
4.3.70.0000.0277.47
4.3.60.0070.0277.47
4.3.50.0000.0237.47
4.3.40.0000.0337.47
4.3.30.0000.0307.47
4.3.20.0000.0237.47
4.3.10.0000.0237.47
4.3.00.0130.0206.85

preferences:
43.8 ms | 401 KiB | 5 Q