3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = password_hash("test", 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.0030.07216.77
7.2.00.0000.07619.35
7.1.200.0070.06615.79
7.1.100.0170.07417.89
7.1.70.0030.06617.12
7.1.60.0070.11819.17
7.1.50.0070.12416.49
7.1.00.0070.08722.37
7.0.200.0220.06114.65
7.0.140.0030.15721.95
7.0.100.0270.12019.93
7.0.90.0270.15319.91
7.0.80.0170.10719.86
7.0.70.0300.14020.01
7.0.60.0370.14319.88
7.0.50.0270.13320.23
7.0.40.0030.17320.13
7.0.30.0070.17320.05
7.0.20.0200.14320.09
7.0.10.0200.12720.02
7.0.00.0070.11020.12
5.6.280.0030.16720.82
5.6.250.0070.16320.80
5.6.240.0100.13320.54
5.6.230.0000.10720.63
5.6.220.0130.14720.65
5.6.210.0130.11720.45
5.6.200.0000.13021.03
5.6.190.0100.16721.02
5.6.180.0030.16021.04
5.6.170.0030.16320.96
5.6.160.0100.13721.02
5.6.150.0170.11720.94
5.6.140.0070.11321.04
5.6.130.0000.16320.93
5.6.120.0130.16321.03
5.6.110.0070.14020.91
5.6.100.0100.16321.11
5.6.90.0070.15021.03
5.6.80.0170.14720.55
5.6.70.0070.14320.49
5.6.60.0100.14720.38
5.6.50.0070.15320.54
5.6.40.0070.09720.37
5.6.30.0100.15720.43
5.6.20.0130.14020.45
5.6.10.0030.09320.39
5.6.00.0000.09720.51
5.5.380.0030.10020.53
5.5.370.0130.10020.56
5.5.360.0100.17020.40
5.5.350.0070.15320.38
5.5.340.0070.16020.88
5.5.330.0100.16720.91
5.5.320.0070.11020.82
5.5.310.0130.12320.75
5.5.300.0030.14320.85
5.5.290.0070.11720.88
5.5.280.0000.11720.85
5.5.270.0100.15020.78
5.5.260.0000.17320.63
5.5.250.0070.16320.64
5.5.240.0070.16020.25
5.5.230.0000.11720.19
5.5.220.0030.16720.14
5.5.210.0100.15020.26
5.5.200.0100.12320.08
5.5.190.0130.08720.27
5.5.180.0130.16020.25
5.5.160.0100.16020.11
5.5.150.0100.10020.24
5.5.140.0000.11319.98
5.5.130.0070.17020.23
5.5.120.0100.14020.12
5.5.110.0000.19020.06
5.5.100.0070.14020.16
5.5.90.0100.17320.15
5.5.80.0030.09720.09
5.5.70.0030.20320.05
5.5.60.0030.15320.07
5.5.50.0130.18320.05
5.5.40.0070.11020.08
5.5.30.0100.14319.95
5.5.20.0100.14719.91
5.5.10.0030.12719.98
5.5.00.0100.08719.94
5.4.450.0130.08319.43
5.4.440.0100.06719.42
5.4.430.0000.04719.55
5.4.420.0030.04719.39
5.4.410.0000.08319.12
5.4.400.0030.05719.20
5.4.390.0030.08319.12
5.4.380.0030.08318.83
5.4.370.0030.08018.90
5.4.360.0030.07719.03
5.4.350.0070.03719.12
5.4.340.0000.06019.03
5.4.320.0030.03719.11
5.4.310.0100.04319.10
5.4.300.0000.05318.96
5.4.290.0000.04319.04
5.4.280.0130.06318.80
5.4.270.0070.07319.04
5.4.260.0130.07319.11
5.4.250.0030.03719.11
5.4.240.0000.08319.03
5.4.230.0070.05018.90
5.4.220.0100.03719.05
5.4.210.0130.07019.06
5.4.200.0030.05018.96
5.4.190.0000.04018.80
5.4.180.0000.05018.77
5.4.170.0030.03719.10
5.4.160.0100.07319.05
5.4.150.0030.07719.07
5.4.140.0030.07016.21
5.4.130.0070.05716.29
5.4.120.0070.07016.20
5.4.110.0000.08316.30
5.4.100.0100.05016.31
5.4.90.0170.06716.26
5.4.80.0070.06316.42
5.4.70.0130.05016.39
5.4.60.0030.06316.41
5.4.50.0200.05316.18
5.4.40.0070.06016.23
5.4.30.0070.04316.17
5.4.20.0100.07716.39
5.4.10.0070.04316.22
5.4.00.0000.05015.62
5.3.290.0100.07714.66
5.3.280.0000.08314.50
5.3.270.0030.05714.59
5.3.260.0170.06014.59
5.3.250.0070.05714.46
5.3.240.0100.07314.56
5.3.230.0030.06014.42
5.3.220.0070.04314.52
5.3.210.0070.07714.38
5.3.200.0030.07714.42
5.3.190.0170.06714.52
5.3.180.0100.06014.55
5.3.170.0070.07714.54
5.3.160.0030.04314.50
5.3.150.0200.05014.42
5.3.140.0130.05314.53
5.3.130.0030.07714.50
5.3.120.0170.06714.53
5.3.110.0070.08014.52
5.3.100.0030.08014.03
5.3.90.0130.05014.02
5.3.80.0100.05713.86
5.3.70.0130.07013.98
5.3.60.0030.07013.77
5.3.50.0070.04313.91
5.3.40.0030.07013.92
5.3.30.0170.06313.91
5.3.20.0100.06713.69
5.3.10.0070.07313.66
5.3.00.0070.06713.58
5.2.170.0070.05011.66
5.2.160.0030.03711.66
5.2.150.0030.06011.66
5.2.140.0100.06011.66
5.2.130.0000.05711.66
5.2.120.0030.06311.66
5.2.110.0030.04011.66
5.2.100.0070.06011.66
5.2.90.0070.05711.66
5.2.80.0000.05011.66
5.2.70.0070.03011.66
5.2.60.0070.05711.66
5.2.50.0000.05011.66
5.2.40.0070.03011.66
5.2.30.0130.02711.66
5.2.20.0000.03711.66
5.2.10.0030.06311.66
5.2.00.0030.04311.66
5.1.60.0030.03711.66
5.1.50.0030.05311.66
5.1.40.0070.05011.66
5.1.30.0100.02711.66
5.1.20.0030.05711.66
5.1.10.0070.05711.66
5.1.00.0100.05011.66
5.0.50.0070.03711.66
5.0.40.0000.04311.66
5.0.30.0000.06711.66
5.0.20.0030.02011.66
5.0.10.0100.03711.66
5.0.00.0030.06311.66
4.4.90.0030.03711.66
4.4.80.0000.03711.66
4.4.70.0030.02311.66
4.4.60.0030.03311.66
4.4.50.0000.02011.66
4.4.40.0000.03011.66
4.4.30.0030.03311.66
4.4.20.0070.03011.66
4.4.10.0000.02711.66
4.4.00.0100.05011.66
4.3.110.0100.01011.66
4.3.100.0000.02011.66
4.3.90.0000.02011.66
4.3.80.0000.03011.66
4.3.70.0030.03311.66
4.3.60.0000.02011.66
4.3.50.0070.01011.66
4.3.40.0070.04311.66
4.3.30.0030.02711.66
4.3.20.0030.03711.66
4.3.10.0000.03011.66
4.3.00.0030.02311.66

preferences:
35.62 ms | 401 KiB | 5 Q