3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = array( 'cost' => 12, ); echo password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options)."\n";

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.10.0070.24916.66
7.3.00.0070.24816.52
7.2.130.0030.25116.91
7.2.120.0000.26016.93
7.2.110.0100.26116.72
7.2.100.0030.25516.65
7.2.90.0070.24916.91
7.2.80.0030.25516.88
7.2.70.0030.25216.88
7.2.60.0080.25016.82
7.2.50.0030.26716.63
7.2.40.0070.25016.91
7.2.30.0030.25416.64
7.2.20.0000.25716.60
7.2.10.0030.24217.04
7.2.00.0020.25518.06
7.1.250.0100.24715.84
7.1.200.0000.26215.82
7.1.100.0070.26018.17
7.1.70.0000.25217.05
7.1.60.0100.31219.29
7.1.50.0000.25516.89
7.1.00.0030.34722.40
7.0.200.0030.24416.60
7.0.140.0130.32722.09
7.0.60.0070.33019.89
7.0.50.0070.34017.87
7.0.40.0130.34720.13
7.0.30.0500.31320.09
7.0.20.0170.30020.16
7.0.10.0130.33720.03
7.0.00.0170.29020.18
5.6.280.0030.35321.00
5.6.210.0100.34320.54
5.6.200.0030.36318.20
5.6.190.0100.33720.77
5.6.180.0400.32320.63
5.6.170.0200.31020.57
5.6.160.0130.32320.66
5.6.150.0030.35718.18
5.6.140.0100.34318.21
5.6.130.0170.33718.28
5.6.120.0170.32320.96
5.6.110.0070.33020.97
5.6.100.0100.34021.09
5.6.90.0070.29320.91
5.6.80.0100.35020.36
5.5.350.0070.31020.29
5.5.340.0130.28317.91
5.5.330.0130.30020.07
5.5.320.0270.34020.27
5.5.310.0370.32320.26
5.5.300.0000.34717.98
5.5.290.0030.34718.08
5.5.280.0070.28720.86
5.5.270.0170.28320.87
5.5.260.0070.33020.78
5.5.250.0000.29720.70
5.5.240.0370.33020.25
5.4.450.2300.04019.58
5.4.440.2370.03719.10
5.4.430.2200.04719.57
5.4.420.2300.04719.45
5.4.410.2300.03019.41
5.4.400.2700.03719.16
5.4.390.2500.03719.08
5.4.380.2300.03719.10
5.4.370.2370.03318.88
5.4.360.2400.04319.24
5.4.350.3200.04019.16
5.4.340.2830.03719.16
5.4.320.2830.03019.22
5.4.310.3070.03718.91
5.4.300.3400.04019.09
5.4.290.3100.04319.08
5.4.280.3070.03719.10
5.4.270.2970.04019.21
5.4.260.2830.04018.93
5.4.250.3030.04019.09
5.4.240.2770.03319.08
5.4.230.2500.03718.77
5.4.220.2270.04019.21
5.4.210.2400.04019.11
5.4.200.2130.04018.80
5.4.190.2430.03718.88
5.4.180.2400.04018.88
5.4.170.2370.03318.88
5.4.160.2470.03019.07
5.4.150.2330.04019.20
5.4.140.2430.03016.32
5.4.130.2370.03316.16
5.4.120.2400.02716.32
5.4.110.2400.03316.48
5.4.100.2670.04016.35
5.4.90.2400.03316.41
5.4.80.2470.03716.05
5.4.70.0200.04716.37
5.4.60.0170.03716.28
5.4.50.0170.03716.27
5.4.40.0200.03716.45
5.4.30.0170.03716.36
5.4.20.0200.03016.20
5.4.10.0200.03316.42
5.4.00.0170.03315.72
5.3.290.0230.03014.64
5.3.280.0230.03714.54
5.3.270.0100.04314.48
5.3.260.0200.03314.64
5.3.250.0200.04014.43
5.3.240.0200.04014.55
5.3.230.0270.03714.50
5.3.220.0200.06714.58
5.3.210.0230.07014.50
5.3.200.0270.03014.40
5.3.190.0270.06714.41
5.3.180.0170.03714.60
5.3.170.0130.04314.39
5.3.160.0170.04014.42
5.3.150.0200.05714.51
5.3.140.0230.05314.57
5.3.130.0230.03314.56
5.3.120.0230.05314.43
5.3.110.0270.07014.56
5.3.100.0200.03714.05
5.3.90.0230.04314.03
5.3.80.0200.04013.96
5.3.70.0170.05713.84
5.3.60.0200.04713.94
5.3.50.0330.06013.79
5.3.40.0270.04714.01
5.3.30.0300.06013.70
5.3.20.0300.03713.79
5.3.10.0330.06013.52
5.3.00.0330.04013.47
5.2.170.0300.05311.22
5.2.160.0200.03711.15
5.2.150.0230.03711.05
5.2.140.0130.04311.05
5.2.130.0200.02711.12
5.2.120.0270.04710.95
5.2.110.0170.04010.95
5.2.100.0170.03310.98
5.2.90.0270.05310.96
5.2.80.0200.03711.14
5.2.70.0230.05710.98
5.2.60.0230.03310.88
5.2.50.0370.04710.86
5.2.40.0230.04710.93
5.2.30.0230.05010.87
5.2.20.0170.03710.82
5.2.10.0130.03010.83
5.2.00.0170.02310.61
5.1.60.0170.04010.11
5.1.50.0100.0379.88
5.1.40.0200.0209.91
5.1.30.0130.02710.24
5.1.20.0100.03010.20
5.1.10.0170.02310.13
5.1.00.0030.02310.04
5.0.50.0030.0508.43
5.0.40.0100.0238.34
5.0.30.0100.0608.11
5.0.20.0070.0208.25
5.0.10.0130.0238.29
5.0.00.0100.0278.08
4.4.90.0070.0177.87
4.4.80.0070.0237.87
4.4.70.0100.0377.87
4.4.60.0130.0207.87
4.4.50.0100.0177.87
4.4.40.0070.0337.87
4.4.30.0170.0137.87
4.4.20.0070.0337.87
4.4.10.0130.0237.87
4.4.00.0170.0237.87
4.3.110.0070.0237.87
4.3.100.0070.0207.87
4.3.90.0070.0177.87
4.3.80.0100.0277.87
4.3.70.0070.0177.87
4.3.60.0070.0137.87
4.3.50.0070.0137.87
4.3.40.0170.0307.87
4.3.30.0030.0177.87
4.3.20.0100.0177.87
4.3.10.0000.0237.87
4.3.00.0030.0337.87

preferences:
44.22 ms | 401 KiB | 5 Q