3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = password_hash("servergrove", PASSWORD_BCRYPT); echo $hash . "\n"; var_dump(password_get_info($hash)); var_dump(password_needs_rehash($hash, PASSWORD_BCRYPT));

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)
7.2.60.0940.09315.11
7.2.00.0100.06419.41
7.1.200.0030.07215.69
7.1.100.0030.07218.01
7.1.70.0030.06617.16
7.1.60.0130.12319.25
7.1.50.0130.10316.86
7.1.00.0070.15022.45
7.0.200.0030.06516.70
7.0.140.0070.15722.03
7.0.120.0100.15722.17
7.0.60.0070.17019.94
7.0.50.0100.15017.86
7.0.40.0170.15720.26
7.0.30.0230.10320.18
7.0.20.0170.14020.39
7.0.10.0370.15020.34
7.0.00.0070.14020.12
5.6.280.0070.15721.14
5.6.210.0170.12720.55
5.6.200.0000.10318.21
5.6.190.0070.16020.45
5.6.180.0330.15320.46
5.6.170.0230.11720.39
5.6.160.0070.16320.68
5.6.150.0130.16018.21
5.6.140.0100.10318.18
5.6.130.0030.12018.17
5.6.120.0130.14721.04
5.6.110.0100.13721.08
5.6.100.0070.16020.97
5.6.90.0000.15320.98
5.6.80.0130.16020.41
5.6.70.0100.11720.51
5.5.350.0170.10020.35
5.5.340.0130.18017.99
5.5.330.0000.14020.31
5.5.320.0230.14720.47
5.5.310.0270.15320.27
5.5.300.0000.11018.01
5.5.290.0070.10717.98
5.5.280.0130.15720.91
5.5.270.0070.10320.90
5.5.260.0130.15320.86
5.5.250.0100.15720.77
5.5.240.0070.16020.18
5.4.450.0070.08019.41
5.4.440.0070.05319.46
5.4.430.0100.07319.13
5.4.420.0000.06319.46
5.4.410.0170.06718.98
5.4.400.0100.07319.15
5.4.390.0030.04018.79
5.4.380.0130.07318.81
5.4.370.0000.04019.16
5.4.360.0070.03718.92
5.4.350.0070.06019.14
5.4.340.0070.03719.12
5.4.320.0070.07719.18
5.4.310.0130.05718.92
5.4.300.0100.07318.79
5.4.290.0030.08019.11
5.4.280.0130.07319.14
5.4.270.0100.06719.08
5.4.260.0100.07018.80
5.4.250.0100.06719.07
5.4.240.0070.06719.11
5.4.230.0070.06719.17
5.4.220.0100.07719.17
5.4.210.0070.06719.08
5.4.200.0000.06319.19
5.4.190.0100.03318.99
5.4.180.0100.07319.07
5.4.170.0000.06319.17
5.4.160.0130.06718.76
5.4.150.0070.07019.16
5.4.140.0070.06016.48
5.4.130.0030.07716.21
5.4.120.0070.03716.47
5.4.110.0070.08016.30
5.4.100.0030.03716.29
5.4.90.0070.03716.61
5.4.80.0070.06316.29
5.4.70.0130.06716.31
5.4.60.0030.05316.38
5.4.50.0070.06016.36
5.4.40.0070.06316.24
5.4.30.0030.07316.33
5.4.20.0100.03316.36
5.4.10.0070.04016.34
5.4.00.0070.03315.78
5.3.290.0100.07714.59
5.3.280.0000.04014.57
5.3.270.0070.06014.56
5.3.260.0030.05014.69
5.3.250.0070.03714.39
5.3.240.0100.06314.52
5.3.230.0100.06714.41
5.3.220.0070.03314.37
5.3.210.0030.03714.44
5.3.200.0100.03714.48
5.3.190.0100.05014.46
5.3.180.0100.04314.55
5.3.170.0000.08314.57
5.3.160.0000.05014.50
5.3.150.0070.07014.53
5.3.140.0100.06714.34
5.3.130.0070.07714.46
5.3.120.0070.04314.36
5.3.110.0100.04314.36
5.3.100.0030.07713.97
5.3.90.0070.04313.95
5.3.80.0000.05713.96
5.3.70.0030.03713.83
5.3.60.0070.07013.79
5.3.50.0070.04013.89
5.3.40.0030.04013.76
5.3.30.0070.07313.85
5.3.20.0030.06013.50
5.3.10.0070.06013.61
5.3.00.0070.04013.46
5.2.170.0070.06011.10
5.2.160.0000.05011.13
5.2.150.0000.03311.04
5.2.140.0030.06311.07
5.2.130.0100.04711.18
5.2.120.0030.06311.00
5.2.110.0070.06011.07
5.2.100.0030.05010.92
5.2.90.0070.05011.03
5.2.80.0030.03711.02
5.2.70.0000.04711.04
5.2.60.0070.02710.97
5.2.50.0030.06010.87
5.2.40.0030.04010.84
5.2.30.0000.03310.87
5.2.20.0030.03011.03
5.2.10.0000.04010.86
5.2.00.0070.05710.86
5.1.60.0130.04710.00
5.1.50.0030.03710.07
5.1.40.0030.0479.97
5.1.30.0100.02710.37
5.1.20.0030.06310.34
5.1.10.0070.05310.14
5.1.00.0030.05710.03
5.0.50.0000.0308.62
5.0.40.0070.0238.38
5.0.30.0100.0608.32
5.0.20.0000.0308.26
5.0.10.0000.0378.25
5.0.00.0070.0508.30
4.4.90.0030.0307.94
4.4.80.0030.0277.94
4.4.70.0000.0207.94
4.4.60.0030.0377.94
4.4.50.0030.0277.94
4.4.40.0000.0507.94
4.4.30.0070.0307.94
4.4.20.0100.0277.94
4.4.10.0070.0137.94
4.4.00.0000.0507.94
4.3.110.0030.0177.94
4.3.100.0000.0307.94
4.3.90.0030.0177.94
4.3.80.0030.0277.94
4.3.70.0070.0337.94
4.3.60.0070.0307.94
4.3.50.0000.0407.94
4.3.40.0000.0507.94
4.3.30.0000.0337.94
4.3.20.0000.0237.94
4.3.10.0030.0377.94
4.3.00.0000.0377.94

preferences:
31.42 ms | 401 KiB | 5 Q