3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo password_hash("test", PASSWORD_DEFAULT, ['salt' => 'thisisthesaltthisisthesalt']);

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.4.00.0100.07114.87
7.3.120.0110.07014.67
7.3.110.0060.06814.53
7.3.100.0110.06614.63
7.3.90.0000.07414.62
7.3.80.0030.07014.69
7.3.70.0050.06814.73
7.3.60.0050.07214.76
7.3.50.0080.06714.77
7.3.40.0030.06914.59
7.3.30.0020.07514.60
7.3.20.0080.06616.63
7.3.10.0060.07016.38
7.3.00.0110.07016.49
7.2.250.0030.07614.92
7.2.240.0070.07314.91
7.2.230.0080.07014.94
7.2.220.0030.07114.72
7.2.210.0050.06714.69
7.2.200.0000.07314.70
7.2.190.0030.07614.85
7.2.180.0080.06614.85
7.2.170.0050.06714.76
7.2.130.0270.07316.67
7.2.120.0080.07116.20
7.2.110.0430.07316.63
7.2.100.0220.07416.58
7.2.90.0460.07516.84
7.2.80.0480.06816.59
7.2.70.0510.05916.61
7.2.60.0080.07416.57
7.2.50.0310.06816.43
7.2.40.0180.06516.41
7.2.30.0180.06816.40
7.2.20.0300.06616.61
7.2.10.0290.07316.79
7.2.00.0240.06617.48
7.1.330.0080.06215.46
7.1.320.0030.07115.71
7.1.310.0000.07515.74
7.1.300.0050.07015.55
7.1.290.0070.06815.64
7.1.280.0020.06915.64
7.1.270.0020.07315.52
7.1.260.0070.06615.74
7.1.250.0200.06615.46
7.1.200.0070.06315.32
7.1.100.0100.06917.61
7.1.70.0000.06717.15
7.1.60.0130.11719.70
7.1.50.0130.11516.50
7.1.00.0030.16722.37
7.0.200.0330.07616.41
7.0.140.0070.15721.97
7.0.100.0230.15320.00
7.0.90.0100.16719.99
7.0.80.0030.15319.87
7.0.70.0270.12719.88
7.0.60.0130.15720.04
7.0.50.0070.14020.35
7.0.40.0170.15720.03
7.0.30.0000.13720.10
7.0.20.0030.12020.11
7.0.10.0070.15020.14
7.0.00.0100.15720.03
5.6.280.0100.15720.81
5.6.250.0070.15020.80
5.6.240.0100.16320.66
5.6.230.0030.17020.64
5.6.220.0070.13720.73
5.6.210.0100.11320.74
5.6.200.0100.17321.08
5.6.190.0070.11320.96
5.6.180.0000.13721.04
5.6.170.0100.15020.99
5.6.160.0100.14720.95
5.6.150.0230.11021.00
5.6.140.0130.12720.93
5.6.130.0100.11021.04
5.6.120.0000.16020.94
5.6.110.0070.09321.03
5.6.100.0030.17721.05
5.6.90.0100.16320.99
5.6.80.0100.15320.46
5.6.70.0070.14720.54
5.6.60.0030.14320.43
5.6.50.0100.10720.46
5.6.40.0070.15320.41
5.6.30.0100.12720.49
5.6.20.0100.16720.38
5.6.10.0100.13320.39
5.6.00.0070.16320.38
5.5.380.0100.11020.43
5.5.370.0100.16320.33
5.5.360.0000.11020.47
5.5.350.0030.15320.39
5.5.340.0170.16020.73
5.5.330.0030.11320.89
5.5.320.0000.10720.83
5.5.310.0100.14720.89
5.5.300.0070.14720.88
5.5.290.0030.16320.86
5.5.280.0100.16320.82
5.5.270.0130.15320.81
5.5.260.0130.14720.87
5.5.250.0070.14320.73
5.5.240.0130.15020.25
5.5.230.0130.14720.27
5.5.220.0000.14020.15
5.5.210.0100.14320.28
5.5.200.0170.14319.99
5.5.190.0170.13720.27
5.5.180.0030.16020.16
5.5.160.0170.15020.15
5.5.150.0200.10319.95
5.5.140.0100.15020.24
5.5.130.0070.13320.16
5.5.120.0070.15320.14
5.5.110.0030.10320.21
5.5.100.0100.13319.94
5.5.90.0000.12320.07
5.5.80.0100.13320.10
5.5.70.0070.14320.15
5.5.60.0030.12720.05
5.5.50.0130.16020.09
5.5.40.0070.14020.08
5.5.30.0070.10020.13
5.5.20.0100.16019.91
5.5.10.0100.16720.05
5.5.00.0070.15020.03
5.4.450.0100.05319.40
5.4.440.0030.07019.41
5.4.430.0070.08019.42
5.4.420.0070.08019.42
5.4.410.0100.07319.32
5.4.400.0070.06719.14
5.4.390.0100.07319.23
5.4.380.0070.08018.96
5.4.370.0100.04019.10
5.4.360.0030.08019.03
5.4.350.0030.07718.83
5.4.340.0030.04018.97
5.4.320.0030.04319.04
5.4.310.0030.06019.03
5.4.300.0000.04719.06
5.4.290.0070.07319.10
5.4.280.0070.07318.96
5.4.270.0030.04019.13
5.4.260.0100.04719.04
5.4.250.0170.06719.03
5.4.240.0130.05719.15
5.4.230.0030.08019.09
5.4.220.0070.07018.97
5.4.210.0000.06319.16
5.4.200.0000.08718.81
5.4.190.0070.06019.01
5.4.180.0130.06719.03
5.4.170.0070.08319.13
5.4.160.0000.05019.09
5.4.150.0070.07319.01
5.4.140.0030.07716.32
5.4.130.0070.05016.33
5.4.120.0070.07316.27
5.4.110.0030.05716.42
5.4.100.0100.04016.22
5.4.90.0100.06716.46
5.4.80.0030.04316.20
5.4.70.0070.07316.42
5.4.60.0070.05716.30
5.4.50.0070.04016.41
5.4.40.0030.06016.45
5.4.30.0100.07316.21
5.4.20.0030.07016.19
5.4.10.0030.07716.18
5.4.00.0070.06315.80
5.3.290.0030.04714.52
5.3.280.0000.06314.59
5.3.270.0130.07314.57
5.3.260.0170.06314.52
5.3.250.0030.06714.55
5.3.240.0030.05714.61
5.3.230.0130.07014.57
5.3.220.0170.05714.39
5.3.210.0100.07014.57
5.3.200.0030.08014.54
5.3.190.0070.04314.56
5.3.180.0100.06714.56
5.3.170.0100.06014.50
5.3.160.0070.07714.51
5.3.150.0130.04014.55
5.3.140.0030.07714.55
5.3.130.0130.06314.55
5.3.120.0100.06714.50
5.3.110.0100.06314.37
5.3.100.0100.07313.91
5.3.90.0030.05014.01
5.3.80.0100.06013.95
5.3.70.0070.06714.00
5.3.60.0070.07314.01
5.3.50.0070.06713.88
5.3.40.0100.06313.85
5.3.30.0070.04713.89
5.3.20.0100.06713.66
5.3.10.0070.07013.52
5.3.00.0130.06013.60
5.2.170.0000.06010.96
5.2.160.0130.05311.13
5.2.150.0100.05011.14
5.2.140.0070.06010.96
5.2.130.0130.05010.89
5.2.120.0000.07311.09
5.2.110.0000.03711.15
5.2.100.0130.05711.09
5.2.90.0100.05311.16
5.2.80.0030.06311.05
5.2.70.0100.06011.15
5.2.60.0100.06311.08
5.2.50.0070.03310.81
5.2.40.0030.06010.84
5.2.30.0030.06010.96
5.2.20.0070.06710.94
5.2.10.0100.05310.78
5.2.00.0000.06010.58
5.1.60.0070.0479.84
5.1.50.0000.0309.98
5.1.40.0030.0539.98
5.1.30.0130.04710.23
5.1.20.0100.03710.41
5.1.10.0030.0579.91
5.1.00.0100.0339.95
5.0.50.0000.0478.40
5.0.40.0070.0278.46
5.0.30.0030.0408.21
5.0.20.0030.0408.30
5.0.10.0030.0408.21
5.0.00.0070.0378.24
4.4.90.0030.0378.21
4.4.80.0000.0378.21
4.4.70.0030.0338.21
4.4.60.0000.0378.21
4.4.50.0030.0338.21
4.4.40.0000.0308.21
4.4.30.0030.0338.21
4.4.20.0000.0378.21
4.4.10.0030.0178.21
4.4.00.0000.0538.21
4.3.110.0030.0338.21
4.3.100.0030.0338.21
4.3.90.0000.0208.21
4.3.80.0030.0278.21
4.3.70.0000.0378.21
4.3.60.0030.0338.21
4.3.50.0030.0278.21
4.3.40.0030.0508.21
4.3.30.0000.0278.21
4.3.20.0000.0378.21
4.3.10.0000.0338.21
4.3.00.0000.0278.21

preferences:
38.69 ms | 401 KiB | 5 Q