3v4l.org

run code in 300+ PHP versions simultaneously
<?php $iterations = 10; $length = 0; $hash1 = hash_pbkdf2('sha1', 'plnlrtfpijpuhqylxbgqiiyipieyxvfsavzgxbbcfusqkozwpngsyejqlmjsytrmd', '1234567890123457', $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.0210.00018.43
8.3.50.0140.00221.27
8.3.40.0110.00318.67
8.3.30.0030.01019.27
8.3.20.0040.00420.51
8.3.10.0080.00022.17
8.3.00.0060.00322.50
8.2.180.0150.00316.50
8.2.170.0070.00722.96
8.2.160.0150.00019.22
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0110.00726.16
8.2.120.0060.00320.88
8.2.110.0000.00922.33
8.2.100.0060.00917.91
8.2.90.0070.00019.26
8.2.80.0040.00418.16
8.2.70.0030.00617.50
8.2.60.0040.00417.93
8.2.50.0040.00418.07
8.2.40.0040.00418.16
8.2.30.0050.00317.95
8.2.20.0060.00317.54
8.2.10.0000.00717.73
8.2.00.0070.00317.87
8.1.280.0100.01025.92
8.1.270.0090.00022.27
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0110.00024.10
8.1.230.0080.00419.09
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0070.00317.23
8.1.190.0060.00317.41
8.1.180.0050.00318.62
8.1.170.0000.00918.66
8.1.160.0000.00722.08
8.1.150.0020.00518.69
8.1.140.0000.00717.46
8.1.130.0000.00817.80
8.1.120.0040.00417.52
8.1.110.0000.00817.35
8.1.100.0070.00017.52
8.1.90.0020.00517.46
8.1.80.0030.00417.33
8.1.70.0040.00417.28
8.1.60.0040.00417.59
8.1.50.0000.00817.59
8.1.40.0000.00717.58
8.1.30.0030.00517.49
8.1.20.0000.00817.55
8.1.10.0040.00417.59
8.1.00.0080.00017.59
8.0.300.0080.00018.77
8.0.290.0040.00417.18
8.0.280.0030.00318.46
8.0.270.0070.00017.21
8.0.260.0000.00616.89
8.0.250.0000.00716.99
8.0.240.0020.01016.94
8.0.230.0030.00316.89
8.0.220.0070.00016.79
8.0.210.0030.00616.81
8.0.200.0000.00716.99
8.0.190.0000.00716.86
8.0.180.0040.00416.84
8.0.170.0040.00416.93
8.0.160.0000.00716.75
8.0.150.0070.00016.88
8.0.140.0060.00316.82
8.0.130.0000.00613.39
8.0.120.0060.00316.74
8.0.110.0000.00916.92
8.0.100.0040.00417.02
8.0.90.0000.00716.90
8.0.80.0130.00716.78
8.0.70.0040.00416.80
8.0.60.0000.00716.89
8.0.50.0000.00716.94
8.0.30.0100.01116.98
8.0.20.0120.00817.40
8.0.10.0000.00716.89
8.0.00.0110.00616.83
7.4.330.0050.00015.00
7.4.320.0000.00716.68
7.4.300.0030.00316.66
7.4.290.0000.00716.68
7.4.280.0000.00716.71
7.4.270.0070.00016.64
7.4.260.0040.00416.68
7.4.250.0040.00416.59
7.4.240.0040.00316.63
7.4.230.0030.00316.75
7.4.220.0190.00616.55
7.4.210.0080.00816.67
7.4.200.0030.00316.47
7.4.190.0070.00016.63
7.4.160.0100.00616.66
7.4.150.0130.00317.40
7.4.140.0110.00817.86
7.4.130.0110.01116.70
7.4.120.0080.01016.55
7.4.110.0000.01716.44
7.4.100.0120.00616.48
7.4.90.0030.01316.65
7.4.80.0040.01419.39
7.4.70.0000.01816.36
7.4.60.0060.01016.68
7.4.50.0000.00816.30
7.4.40.0110.00222.77
7.4.30.0130.00516.51
7.4.00.0100.00714.98
7.3.330.0050.00013.10
7.3.320.0000.00613.25
7.3.310.0070.00016.13
7.3.300.0040.00416.17
7.3.290.0040.01116.28
7.3.280.0100.00716.29
7.3.270.0160.00317.40
7.3.260.0120.00816.16
7.3.250.0090.00716.43
7.3.240.0100.01316.29
7.3.230.0120.00616.39
7.3.210.0060.01116.47
7.3.200.0100.01319.39
7.3.190.0030.01416.51
7.3.180.0060.01316.36
7.3.170.0060.00916.27
7.3.160.0070.01016.32
7.3.120.0060.00914.69
7.2.330.0150.00316.71
7.2.320.0140.00316.62
7.2.310.0090.00916.63
7.2.300.0090.00616.52
7.2.290.0130.00516.36
7.2.60.0030.01016.80
7.1.200.0070.00315.86
7.1.70.0060.00316.94
7.1.60.0070.01719.82
7.1.50.0170.01016.79
7.1.00.0100.06722.51
7.0.200.0050.00216.61
7.0.140.0100.06722.06
7.0.60.0130.07019.91
7.0.50.0200.06717.86
7.0.40.0100.08720.19
7.0.30.0270.06320.09
7.0.20.0300.07720.20
7.0.10.0070.05320.21
7.0.00.0100.08019.99
5.6.280.0100.06721.12
5.6.210.0130.06720.47
5.6.200.0070.07718.13
5.6.190.0170.07720.35
5.6.180.0470.05720.45
5.6.170.0530.07720.50
5.6.160.0130.05020.44
5.6.150.0100.08018.11
5.6.140.0030.06318.11
5.6.130.0130.04018.21
5.6.120.0100.05021.09
5.6.110.0170.07721.10
5.6.100.0100.06721.02
5.6.90.0130.07720.99
5.6.80.0100.03320.37
5.5.350.0130.04720.38
5.5.340.0000.04317.92
5.5.330.0030.04720.22
5.5.320.2930.04320.28
5.5.310.0270.05020.50
5.5.300.0000.04318.02
5.5.290.0130.03718.02
5.5.280.0100.08320.87
5.5.270.0070.04320.86
5.5.260.0170.05320.64
5.5.250.0070.07020.48
5.5.240.0130.07320.11
5.4.450.0500.05019.54
5.4.440.0070.06719.59
5.4.430.0130.05719.48
5.4.420.0170.05319.52
5.4.410.0130.05718.91
5.4.400.0430.06018.61
5.4.390.0370.05318.78
5.4.380.0200.06018.52
5.4.370.0200.04718.60
5.4.360.0200.04718.61
5.4.350.0200.05018.56
5.4.340.0230.04718.77
5.4.320.0080.03512.45
5.4.310.0070.03912.45
5.4.300.0060.03712.45
5.4.290.0070.04112.45
5.4.280.0080.03412.35
5.4.270.0070.03812.35
5.4.260.0070.06018.61
5.4.250.0100.05718.80
5.4.240.0070.08018.81
5.4.230.0070.06318.76
5.4.220.0100.07718.81
5.4.210.0100.06318.77
5.4.200.0100.05718.98
5.4.190.0130.05018.82
5.4.180.0200.06018.75
5.4.170.0130.05318.64
5.4.160.0130.04718.66
5.4.150.0030.06318.70
5.4.140.0100.05016.47
5.4.130.0000.06316.28
5.4.120.0200.04716.48
5.4.110.0070.07716.26
5.4.100.0030.05716.22
5.4.90.0030.05716.21
5.4.80.0130.04716.38
5.4.70.0070.06316.35
5.4.60.0130.04316.17
5.4.50.0130.06716.23
5.4.40.0030.05016.35
5.4.30.0130.04016.18
5.4.20.0230.04716.39
5.4.10.0100.05316.43
5.4.00.0130.06315.72
5.3.290.0030.04712.80
5.3.280.0100.05314.61
5.3.270.0130.07314.61
5.3.260.0130.07314.46
5.3.250.0070.05314.70
5.3.240.0170.06014.70
5.3.230.0170.06714.69
5.3.220.0300.04314.34
5.3.210.0170.05714.58
5.3.200.0170.06714.71
5.3.190.0070.05314.26
5.3.180.0130.05714.41
5.3.170.0100.07314.71
5.3.160.0130.04314.55
5.3.150.0070.05314.33
5.3.140.0130.05714.60
5.3.130.0130.06714.55
5.3.120.0070.05714.46
5.3.110.0030.09314.38
5.3.100.0000.08014.20
5.3.90.0130.04713.71
5.3.80.0100.04713.95
5.3.70.0070.05014.01
5.3.60.0100.06714.00
5.3.50.0200.05313.83
5.3.40.0070.05313.81
5.3.30.0130.05313.68
5.3.20.0070.06313.68
5.3.10.0030.05313.73
5.3.00.0000.06713.64
5.2.170.0100.05711.02
5.2.160.0230.04010.98
5.2.150.0070.06311.26
5.2.140.0030.06011.13
5.2.130.0070.04711.01
5.2.120.0130.06011.01
5.2.110.0100.04011.11
5.2.100.0070.05011.01
5.2.90.0100.04311.20
5.2.80.0000.06011.09
5.2.70.0100.04011.09
5.2.60.0000.04711.16
5.2.50.0170.05011.04
5.2.40.0100.05010.91
5.2.30.0100.05710.89
5.2.20.0000.04310.89
5.2.10.0030.05710.93
5.2.00.0030.06010.77
5.1.60.0030.0409.90
5.1.50.0100.0309.92
5.1.40.0000.05310.02
5.1.30.0100.05010.48
5.1.20.0130.03010.28
5.1.10.0000.04310.12
5.1.00.0030.05010.03
5.0.50.0000.0438.78
5.0.40.0030.0408.29
5.0.30.0030.0608.24
5.0.20.0000.0408.34
5.0.10.0070.0338.00
5.0.00.0130.0338.10
4.4.90.0030.0237.47
4.4.80.0030.0277.47
4.4.70.0000.0337.47
4.4.60.0070.0277.47
4.4.50.0000.0277.47
4.4.40.0100.0407.47
4.4.30.0070.0207.47
4.4.20.0000.0337.47
4.4.10.0000.0337.47
4.4.00.0000.0437.47
4.3.110.0070.0177.47
4.3.100.0000.0277.47
4.3.90.0100.0277.47
4.3.80.0070.0337.47
4.3.70.0070.0177.47
4.3.60.0000.0337.47
4.3.50.0030.0277.47
4.3.40.0100.0277.47
4.3.30.0030.0207.47
4.3.20.0030.0307.47
4.3.10.0000.0237.47
4.3.00.0200.0276.88

preferences:
39.75 ms | 401 KiB | 5 Q