3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = array( //DO NOT ADD A CUSTOM SALT! I WILL SLAP YOU CRAZY! 'cost' => 11 ); echo password_hash("admin123", PASSWORD_BCRYPT, $options);

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.3.120.0030.13314.79
7.3.110.0070.13014.52
7.3.100.0100.13114.71
7.3.90.0030.13414.66
7.3.80.0070.13114.65
7.3.70.0000.13314.73
7.3.60.0100.12614.71
7.3.50.0030.12814.84
7.3.40.0030.12514.53
7.3.30.0030.12914.74
7.3.20.0070.12816.34
7.3.10.0030.12416.32
7.3.00.0070.12316.40
7.2.240.0070.12614.69
7.2.230.0100.12814.65
7.2.220.0030.13114.87
7.2.210.0000.13714.66
7.2.200.0100.12614.89
7.2.190.0100.12414.52
7.2.180.0070.12814.93
7.2.170.0070.12614.98
7.2.160.0030.13114.81
7.2.150.0030.13116.80
7.2.140.0070.12816.67
7.2.130.0000.13616.92
7.2.120.0070.13016.50
7.2.110.0030.13216.71
7.2.100.0100.13016.97
7.2.90.0070.12816.80
7.2.80.0130.12516.75
7.2.70.0100.12116.75
7.2.60.0030.12716.65
7.2.50.0030.13316.89
7.2.40.0000.13216.71
7.2.30.0000.13016.88
7.2.20.0070.12516.77
7.2.10.0070.13016.77
7.2.00.0080.12817.92
7.1.330.0100.12715.73
7.1.320.0100.12915.63
7.1.310.0030.13415.67
7.1.300.0070.12915.61
7.1.290.0070.12515.88
7.1.280.0000.13815.68
7.1.270.0070.12115.69
7.1.260.0100.11915.56
7.1.250.0030.13415.64
7.1.200.0030.13215.50
7.1.100.0100.13318.32
7.1.70.0030.12516.96
7.1.60.0130.19520.03
7.1.50.0240.19234.76
7.1.00.0100.23022.40
7.0.200.0100.13116.88
7.0.60.0070.18319.92
7.0.50.0030.15717.86
7.0.40.0100.21320.04
7.0.30.0530.19720.06
7.0.20.0230.17720.31
7.0.10.0030.16720.09
7.0.00.0070.21020.30
5.6.280.0030.15320.92
5.6.210.0030.18720.50
5.6.200.0030.16018.12
5.6.190.0070.23320.41
5.6.180.3470.16720.62
5.6.170.0270.17720.43
5.6.160.0070.17020.48
5.6.150.0030.22018.16
5.6.140.0000.17018.21
5.6.130.0070.21718.18
5.6.120.0070.22720.98
5.6.110.0000.17720.98
5.6.100.0030.20321.00
5.6.90.0030.20021.13
5.6.80.0030.23020.39
5.6.70.4470.17020.46
5.5.350.0130.22020.43
5.5.340.0070.20718.07
5.5.330.0100.21020.06
5.5.320.0270.16320.19
5.5.310.0400.21020.29
5.5.300.0100.17717.91
5.5.290.0030.15718.06
5.5.280.0070.22320.65
5.5.270.0000.21720.78
5.5.260.0130.19720.88
5.5.250.0070.21720.57
5.5.240.0330.20720.01
5.4.450.0630.08019.23
5.4.440.0700.07019.45
5.4.430.0570.08019.64
5.4.420.0630.07019.45
5.4.410.0670.08018.98
5.4.400.0770.06319.16
5.4.390.0400.05719.29
5.4.380.0500.05319.22
5.4.370.0570.06018.96
5.4.360.0570.07718.99
5.4.350.0570.05718.95
5.4.340.0570.07019.16
5.4.320.0330.06019.29
5.4.310.0570.07319.30
5.4.300.0630.06719.10
5.4.290.0600.06718.90
5.4.280.0570.07019.28
5.4.270.0530.06319.15
5.4.260.0570.06719.07
5.4.250.0600.07719.14
5.4.240.0500.05718.77
5.4.230.0430.05718.94
5.4.220.0600.05319.27
5.4.210.0430.07019.16
5.4.200.0530.05716.65
5.4.190.0500.07718.94
5.4.180.0500.08019.26
5.4.170.0430.07318.94
5.4.160.0400.07718.94
5.4.150.0570.06019.04
5.4.140.0600.06316.33
5.4.130.0700.05016.46
5.4.120.0530.05316.46
5.4.110.0530.05716.32
5.4.100.0570.05716.31
5.4.90.0730.06016.49
5.4.80.0570.06316.24
5.4.70.0730.06016.30
5.4.60.0770.05316.39
5.4.50.0430.05316.43
5.4.40.0600.05316.25
5.4.30.0470.06016.35
5.4.20.0630.06716.40
5.4.10.0630.05316.21
5.4.00.0470.05715.88

preferences:
29.69 ms | 401 KiB | 5 Q