3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salt = '1234567890123456'; $iterations = 10; $length = 0; $hash1 = hash_pbkdf2('sha1', 'plnlrtfpijpuhqylxbgqiiyipieyxvfsavzgxbbcfusqkozwpngsyejqlmjsytrmdb', $salt, $iterations, $length); $hash2 = hash_pbkdf2('sha1', "eBkXQTfuBqp'cTcar&g*", $salt, $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.0120.00918.06
8.3.50.0090.01021.15
8.3.40.0040.01118.67
8.3.30.0040.01119.09
8.3.20.0000.00820.21
8.3.10.0050.00322.27
8.3.00.0080.00022.46
8.2.180.0070.01416.48
8.2.170.0110.00422.96
8.2.160.0070.00719.39
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0070.00319.13
8.2.110.0040.00422.38
8.2.100.0040.00818.22
8.2.90.0000.00819.17
8.2.80.0060.00318.03
8.2.70.0080.00017.63
8.2.60.0040.00417.93
8.2.50.0080.00018.07
8.2.40.0000.00818.09
8.2.30.0050.00318.07
8.2.20.0070.00017.54
8.2.10.0050.00317.66
8.2.00.0030.00617.62
8.1.280.0140.00725.92
8.1.270.0000.00822.18
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00623.82
8.1.230.0100.00019.13
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0060.00317.63
8.1.180.0070.00018.70
8.1.170.0080.00018.46
8.1.160.0030.00322.21
8.1.150.0040.00418.66
8.1.140.0000.00717.45
8.1.130.0100.00017.89
8.1.120.0030.00317.52
8.1.110.0070.00017.40
8.1.100.0020.00517.41
8.1.90.0020.00517.46
8.1.80.0040.00417.43
8.1.70.0030.00317.34
8.1.60.0000.00817.59
8.1.50.0080.00017.53
8.1.40.0040.00417.51
8.1.30.0040.00417.62
8.1.20.0000.00817.52
8.1.10.0040.00417.49
8.1.00.0000.00817.51
8.0.300.0040.00418.77
8.0.290.0000.00717.17
8.0.280.0000.00718.36
8.0.270.0030.00316.84
8.0.260.0030.00316.89
8.0.250.0070.00017.00
8.0.240.0030.00716.94
8.0.230.0070.00016.98
8.0.220.0030.00316.77
8.0.210.0020.00516.77
8.0.200.0030.00316.95
8.0.190.0050.00216.93
8.0.180.0040.00416.83
8.0.170.0040.00416.93
8.0.160.0040.00416.92
8.0.150.0080.00016.91
8.0.140.0030.00816.73
8.0.130.0000.00513.36
8.0.120.0040.00416.85
8.0.110.0030.00616.80
8.0.100.0070.00016.87
8.0.90.0030.00316.74
8.0.80.0110.01016.83
8.0.70.0050.00316.78
8.0.60.0000.00816.79
8.0.50.0030.00516.94
8.0.30.0090.00917.15
8.0.20.0130.00617.40
8.0.10.0030.00316.80
8.0.00.0110.00516.83
7.4.330.0000.00615.00
7.4.320.0070.00016.53
7.4.300.0070.00016.68
7.4.290.0030.00316.69
7.4.280.0000.00816.63
7.4.270.0040.00416.56
7.4.260.0070.00016.54
7.4.250.0070.00016.63
7.4.240.0000.00716.59
7.4.230.0050.00216.57
7.4.220.0040.02116.68
7.4.210.0040.01016.57
7.4.200.0000.00716.57
7.4.190.0000.00716.73
7.4.160.0080.00816.65
7.4.150.0110.00717.40
7.4.140.0050.01517.86
7.4.130.0080.01216.65
7.4.120.0050.01216.57
7.4.110.0110.01116.75
7.4.100.0160.00616.72
7.4.90.0030.01416.62
7.4.80.0090.01219.39
7.4.70.0060.01016.47
7.4.60.0100.00716.68
7.4.50.0000.00816.40
7.4.40.0070.01022.77
7.4.30.0130.00316.40
7.4.00.0130.00315.16
7.3.330.0030.00313.11
7.3.320.0030.00313.11
7.3.310.0000.00716.32
7.3.300.0030.00316.18
7.3.290.0110.00416.27
7.3.280.0090.00716.30
7.3.270.0110.00517.40
7.3.260.0030.01316.20
7.3.250.0110.00616.44
7.3.240.0110.00616.20
7.3.230.0100.00716.39
7.3.210.0040.01316.29
7.3.200.0080.00816.54
7.3.190.0090.00916.23
7.3.180.0150.00316.28
7.3.170.0080.00816.45
7.3.160.0080.00816.36
7.3.120.0080.00814.98
7.2.330.0060.01316.64
7.2.320.0110.00616.73
7.2.310.0070.01016.59
7.2.300.0030.01316.58
7.2.290.0130.00316.65
7.2.60.0060.00916.60
7.2.00.0040.00819.41
7.1.200.0040.00415.44
7.1.100.0030.01017.75
7.1.70.0040.00717.20
7.1.60.0100.01319.82
7.1.50.0110.01116.99
7.1.00.0070.06722.33
7.0.200.0030.01016.75
7.0.140.0070.07022.00
7.0.60.0070.08320.02
7.0.50.0070.04017.81
7.0.40.0000.05720.40
7.0.30.0300.07320.13
7.0.20.0330.05720.04
7.0.10.0270.05320.04
7.0.00.0100.08320.09
5.6.280.0000.07720.78
5.6.210.0130.05020.50
5.6.200.0170.07018.22
5.6.190.0100.05720.63
5.6.180.4100.04720.60
5.6.170.0400.06020.46
5.6.160.0170.07720.45
5.6.150.0070.04018.07
5.6.140.0100.05718.07
5.6.130.0130.06018.21
5.6.120.0030.07720.89
5.6.110.0030.07321.00
5.6.100.0100.08020.93
5.6.90.0130.07020.96
5.6.80.0130.08020.36
5.6.70.0130.05020.36
5.5.350.0170.06720.38
5.5.340.0030.08317.92
5.5.330.0030.07020.20
5.5.320.0130.04320.29
5.5.310.0330.07020.21
5.5.300.0100.07017.98
5.5.290.0100.08017.95
5.5.280.0030.04720.84
5.5.270.0030.04320.95
5.5.260.0070.08320.96
5.5.250.0100.08020.59
5.5.240.0170.05720.18
5.4.450.0100.04319.13
5.4.440.0130.06719.56
5.4.430.0270.04719.12
5.4.420.0300.07019.40
5.4.410.0200.05019.13
5.4.400.0130.05019.09
5.4.390.0270.07719.08
5.4.380.0230.06718.80
5.4.370.0200.05318.78
5.4.360.0300.03019.09
5.4.350.0200.03718.78
5.4.340.0330.08018.92
5.4.320.0230.04718.88
5.4.310.0170.04019.06
5.4.300.0270.07719.08
5.4.290.0230.05318.81
5.4.280.0230.04319.08
5.4.270.0200.03719.23
5.4.260.0270.05718.81
5.4.250.0230.03319.15
5.4.240.0330.03319.06
5.4.230.0230.06719.08
5.4.220.0270.04318.77
5.4.210.0270.04318.93
5.4.200.0170.07719.12
5.4.190.0230.03318.90
5.4.180.0300.02719.03
5.4.170.0170.05318.89
5.4.160.0300.06019.14
5.4.150.0330.04019.07
5.4.140.0200.05316.27
5.4.130.0230.03016.28
5.4.120.0200.04316.22
5.4.110.0270.06016.23
5.4.100.0200.04716.06
5.4.90.0200.03316.58
5.4.80.0170.04716.46
5.4.70.0230.03016.35
5.4.60.0230.03316.37
5.4.50.0370.05716.40
5.4.40.0270.05316.48
5.4.30.0200.06316.52
5.4.20.0100.04316.23
5.4.10.0270.06316.38
5.4.00.0270.05315.88
5.3.290.0170.04714.50
5.3.280.0270.06714.54
5.3.270.0270.07314.49
5.3.260.0270.07014.55
5.3.250.0230.05014.51
5.3.240.0270.06014.49
5.3.230.0170.04014.49
5.3.220.0230.05314.61
5.3.210.0270.04714.66
5.3.200.0200.06314.49
5.3.190.0270.05014.49
5.3.180.0330.05714.49
5.3.170.0270.04314.57
5.3.160.0400.04314.49
5.3.150.0330.06014.55
5.3.140.0270.06314.49
5.3.130.0270.06714.49
5.3.120.0370.06714.61
5.3.110.0330.05714.49
5.3.100.0170.05314.49
5.3.90.0200.06014.49
5.3.80.0230.07014.49
5.3.70.0270.06714.49
5.3.60.0230.07714.49
5.3.50.0200.05014.49
5.3.40.0300.04014.49
5.3.30.0200.06014.49
5.3.20.0200.06014.49
5.3.10.0130.05014.49
5.3.00.0230.07314.49
5.2.170.0230.05714.49
5.2.160.0200.05314.49
5.2.150.0170.03014.49
5.2.140.0070.04314.49
5.2.130.0200.03314.49
5.2.120.0130.03314.49
5.2.110.0230.05014.49
5.2.100.0270.05314.49
5.2.90.0200.03714.49
5.2.80.0200.03314.49
5.2.70.0130.03014.49
5.2.60.0230.05314.49
5.2.50.0200.04314.49
5.2.40.0070.06714.49
5.2.30.0070.04714.49
5.2.20.0230.05014.49
5.2.10.0230.02714.49
5.2.00.0200.05014.49
5.1.60.0100.03014.49
5.1.50.0170.04014.49
5.1.40.0170.04014.49
5.1.30.0130.05714.49
5.1.20.0170.04714.49
5.1.10.0170.03314.49
5.1.00.0200.03714.49
5.0.50.0100.03314.49
5.0.40.0130.04014.49
5.0.30.0030.03714.49
5.0.20.0070.03014.49
5.0.10.0070.03314.49
5.0.00.0070.05314.49
4.4.90.0100.01314.49
4.4.80.0030.02714.49
4.4.70.0100.03314.49
4.4.60.0130.03014.49
4.4.50.0070.01714.49
4.4.40.0100.03314.49
4.4.30.0070.03314.49
4.4.20.0100.02714.49
4.4.10.0030.02314.49
4.4.00.0030.03014.49
4.3.110.0030.03014.49
4.3.100.0100.02014.49
4.3.90.0030.01714.49
4.3.80.0100.02314.49
4.3.70.0070.01714.49
4.3.60.0070.02014.49
4.3.50.0070.03714.49
4.3.40.0100.02314.49
4.3.30.0030.03314.49
4.3.20.0070.02714.49
4.3.10.0030.01714.49
4.3.00.0070.03714.49

preferences:
42.94 ms | 401 KiB | 5 Q