3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(password_hash('fubar', PASSWORD_BCRYPT, array('salt' => 'abcdefghijklmnopqrst ', 'cost' => 7)));

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.80.0170.00716.63
7.2.60.0100.00316.57
7.2.00.0070.00719.34
7.1.200.0000.01015.66
7.1.100.0000.01017.91
7.1.70.0030.01316.80
7.1.60.0090.01219.43
7.1.50.0100.01016.86
7.1.00.0030.03322.40
7.0.200.0000.00716.69
7.0.140.0170.06321.90
7.0.60.0030.04019.94
7.0.50.0170.07317.85
7.0.40.0030.07020.36
7.0.30.0270.04720.07
7.0.20.0430.04720.10
7.0.10.0230.05720.30
7.0.00.0130.04720.19
5.6.280.0030.07321.03
5.6.210.0070.03720.60
5.6.200.0130.08018.08
5.6.190.0070.08320.38
5.6.180.0230.08020.27
5.6.170.0400.07720.46
5.6.160.0070.08020.43
5.6.150.0030.05318.21
5.6.140.0100.03318.17
5.6.130.0070.03718.11
5.6.120.0100.05021.13
5.6.110.0130.06720.99
5.6.100.0030.06021.03
5.6.90.0270.06320.94
5.6.80.0170.05320.48
5.6.70.0270.05320.37
5.5.350.0000.07320.31
5.5.340.0030.07718.02
5.5.330.0130.03320.43
5.5.320.0170.06320.30
5.5.310.0300.04320.50
5.5.300.0000.08317.98
5.5.290.0070.07717.98
5.5.280.0070.07720.79
5.5.270.0100.05320.75
5.5.260.0200.07020.96
5.5.250.0130.05320.57
5.5.240.0230.06320.27
5.4.450.1030.04319.52
5.4.440.0970.07319.48
5.4.430.1270.05719.59
5.4.420.1200.06319.48
5.4.410.1430.07019.50
5.4.400.0400.04718.75
5.4.390.0400.06318.53
5.4.380.0270.05318.52
5.4.370.0070.06018.48
5.4.360.0200.05718.45
5.4.350.0140.04411.97
5.4.340.0080.03411.96
5.4.320.0070.03412.45
5.4.310.0070.04312.45
5.4.300.0080.03612.45
5.4.290.0100.04112.45
5.4.280.0080.03512.34
5.4.270.0070.03512.35
5.4.260.0040.03912.34
5.4.250.0030.06018.89
5.4.240.0070.07018.73
5.4.230.0130.04718.70
5.4.220.0100.05318.76
5.4.210.0200.05018.73
5.4.200.0170.04318.77
5.4.190.0100.05318.72
5.4.180.0070.07018.72
5.4.170.0070.05718.75
5.4.160.0100.05018.73
5.4.150.0230.06319.02
5.4.140.0100.04716.28
5.4.130.0030.05016.46
5.4.120.0130.06016.29
5.4.110.0070.07316.52
5.4.100.0130.05016.29
5.4.90.0130.05716.45
5.4.80.0070.05716.33
5.4.70.0070.05716.25
5.4.60.0070.07316.39
5.4.50.0100.04316.43
5.4.40.0070.06316.39
5.4.30.0070.04716.40
5.4.20.0000.05316.49
5.4.10.0170.04316.40
5.4.00.0100.04315.93
5.3.290.0100.04112.80
5.3.280.0070.05714.42
5.3.270.0130.07014.61
5.3.260.0130.04714.38
5.3.250.0070.06314.64
5.3.240.0170.04314.61
5.3.230.0070.05314.59
5.3.220.0130.06014.71
5.3.210.0130.06014.43
5.3.200.0170.06714.58
5.3.190.0070.07014.58
5.3.180.0130.07014.26
5.3.170.0130.04314.60
5.3.160.0070.05014.40
5.3.150.0070.05014.57
5.3.140.0100.04314.65
5.3.130.0100.04714.48
5.3.120.0170.04314.41
5.3.110.0070.06314.43
5.3.100.0100.05014.09
5.3.90.0100.05713.88
5.3.80.0030.05314.02
5.3.70.0200.04314.16
5.3.60.0070.05014.04
5.3.50.0070.04714.04
5.3.40.0100.04313.85
5.3.30.0070.06313.95
5.3.20.0070.04713.70
5.3.10.0000.05713.50
5.3.00.0100.04713.57
5.2.170.0070.04310.90
5.2.160.0070.03711.16
5.2.150.0070.04011.02
5.2.140.0000.04711.24
5.2.130.0070.04011.19
5.2.120.0070.03711.10
5.2.110.0070.04311.01
5.2.100.0070.04311.11
5.2.90.0100.05010.86
5.2.80.0100.04711.00
5.2.70.0100.04011.23
5.2.60.0030.04311.05
5.2.50.0030.04311.12
5.2.40.0030.04310.91
5.2.30.0000.05310.98
5.2.20.0000.04310.93
5.2.10.0130.04010.91
5.2.00.0100.03710.88
5.1.60.0030.0479.95
5.1.50.0070.03310.16
5.1.40.0000.04010.16
5.1.30.0100.04310.31
5.1.20.0130.03310.52
5.1.10.0000.0379.83
5.1.00.0000.0379.95
5.0.50.0000.0308.40
5.0.40.0000.0278.33
5.0.30.0100.0508.40
5.0.20.0030.0278.13
5.0.10.0030.0278.25
5.0.00.0000.0408.16
4.4.90.0030.0306.80
4.4.80.0030.0206.80
4.4.70.0000.0236.80
4.4.60.0000.0236.80
4.4.50.0030.0206.80
4.4.40.0070.0306.80
4.4.30.0070.0176.80
4.4.20.0000.0237.10
4.4.10.0000.0237.10
4.4.00.0030.0477.10
4.3.110.0000.0237.10
4.3.100.0030.0207.10
4.3.90.0030.0177.10
4.3.80.0030.0307.10
4.3.70.0000.0207.10
4.3.60.0070.0237.10
4.3.50.0000.0337.10
4.3.40.0070.0307.10
4.3.30.0030.0207.10
4.3.20.0030.0237.10
4.3.10.0000.0337.10
4.3.00.0130.0207.62

preferences:
36.49 ms | 401 KiB | 5 Q