3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = 'sup3r53cr3t!'; $options = ['salt']; $hash = password_hash($password, PASSWORD_DEFAULT, $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.4.00.0070.07615.07
7.3.120.0030.07314.71
7.3.110.0030.07114.76
7.3.100.0100.06614.46
7.3.90.0060.07214.82
7.3.80.0030.07814.40
7.3.70.0000.06814.73
7.3.60.0070.06614.88
7.3.50.0030.06914.84
7.3.40.0030.07514.70
7.3.30.0070.06714.43
7.3.20.0100.06616.54
7.3.10.0030.07016.42
7.3.00.0030.07016.58
7.2.250.0070.07214.72
7.2.240.0100.07414.64
7.2.230.0130.06514.75
7.2.220.0030.06914.83
7.2.210.0130.06114.84
7.2.200.0000.07615.00
7.2.190.0000.07714.93
7.2.180.0030.07114.69
7.2.170.0000.07314.82
7.2.60.0100.06616.83
7.2.00.0070.07119.34
7.1.330.0030.07115.85
7.1.320.0100.06615.66
7.1.310.0000.07315.66
7.1.300.0070.06715.65
7.1.290.0030.07315.40
7.1.280.0070.06715.82
7.1.270.0000.06815.50
7.1.260.0030.07215.69
7.1.100.0030.07218.00
7.1.70.0070.10716.89
7.1.60.0070.12619.46
7.1.50.0100.11016.73
7.1.00.0100.17722.31
7.0.200.0030.06516.75
7.0.140.0070.15321.99
7.0.60.0070.16019.89
7.0.50.0070.16317.89
7.0.40.0100.13320.25
7.0.30.0300.15720.22
7.0.20.0300.15020.20
7.0.10.0170.15320.12
7.0.00.0030.11020.05
5.6.280.0100.15720.91
5.6.210.0100.15720.60
5.6.200.0000.10718.22
5.6.190.0070.10020.46
5.6.180.0200.16020.58
5.6.170.0300.11320.48
5.6.160.0100.09320.44
5.6.150.0030.14718.11
5.6.140.0000.16018.21
5.6.130.0100.15718.15
5.6.120.0070.10721.01
5.6.110.0130.14321.08
5.6.100.0070.09721.10
5.6.90.0030.16320.96
5.6.80.0070.10720.27
5.5.350.3970.10020.43
5.5.340.0130.16018.02
5.5.330.0070.10320.19
5.5.320.0300.12320.19
5.5.310.0370.14320.29
5.5.300.0000.10318.02
5.5.290.0070.15717.94
5.5.280.0100.15020.77
5.5.270.0030.10320.79
5.5.260.0030.11320.83
5.5.250.0030.14020.61
5.5.240.0130.14720.03
5.4.450.0900.05319.40
5.4.440.0670.06319.49
5.4.430.0800.05019.56
5.4.420.0930.05719.53
5.4.410.0070.05319.00
5.4.400.0730.06019.00
5.4.390.0830.05319.12
5.4.380.0130.05318.53
5.4.370.0200.05318.50
5.4.360.0130.05018.53
5.4.350.0270.04318.65
5.4.340.0230.06018.71
5.4.320.0060.03712.45
5.4.310.0050.03812.45
5.4.300.0070.03512.45
5.4.290.0150.09312.43
5.4.280.0080.05012.33
5.4.270.0110.04712.33
5.4.260.0120.05612.33
5.4.250.0060.05512.33
5.4.240.0110.05412.33
5.4.230.0080.07412.32
5.4.220.0130.05912.32
5.4.210.0170.05412.32
5.4.200.0120.08412.32
5.4.190.0080.07812.32
5.4.180.0060.07212.32
5.4.170.0160.08312.33
5.4.160.0150.07312.32
5.4.150.0100.04212.32
5.4.140.0080.04212.00
5.4.130.0110.06012.00
5.4.120.0100.05711.95
5.4.110.0140.05111.95
5.4.100.0170.05011.95
5.4.90.0170.05811.95
5.4.80.0080.04011.95
5.4.70.0100.04211.95
5.4.60.0080.03611.95
5.4.50.0070.04811.95
5.4.40.0030.04111.93
5.4.30.0080.04511.93
5.4.20.0060.05811.93
5.4.10.0090.04811.93
5.4.00.0080.05011.43
5.3.290.0080.03612.80
5.3.280.0040.04112.70
5.3.270.0070.03812.73
5.3.260.0050.05412.72
5.3.250.0110.04912.72
5.3.240.0070.05112.72
5.3.230.0100.04812.71
5.3.220.0060.04412.68
5.3.210.0100.05412.68
5.3.200.0120.05712.68
5.3.190.0130.05912.68
5.3.180.0090.05312.68
5.3.170.0090.05312.66
5.3.160.0050.04412.67
5.3.150.0080.06212.67
5.3.140.0120.06412.66
5.3.130.0100.06812.66
5.3.120.0100.07612.66
5.3.110.0060.04712.66
5.3.100.0080.04212.12
5.3.90.0070.04512.08
5.3.80.0090.04812.07
5.3.70.0170.05212.07
5.3.60.0130.07612.06
5.3.50.0090.04912.00
5.3.40.0060.08412.00
5.3.30.0110.05311.95
5.3.20.0100.04911.72
5.3.10.0060.03911.70
5.3.00.0100.04911.68
5.2.170.0080.0399.18
5.2.160.0070.0399.18
5.2.150.0070.0409.18
5.2.140.0100.0429.18
5.2.130.0080.0419.14
5.2.120.0080.0439.14
5.2.110.0080.0439.15
5.2.100.0040.0529.14
5.2.90.0070.0559.14
5.2.80.0060.0489.14
5.2.70.0040.0499.14
5.2.60.0100.0469.09
5.2.50.0050.0449.06
5.2.40.0060.0419.03
5.2.30.0060.0449.01
5.2.20.0040.0449.00
5.2.10.0060.0288.93
5.2.00.0040.0438.79
5.1.60.0060.0348.06
5.1.50.0070.0338.06
5.1.40.0040.0368.05
5.1.30.0090.0268.40
5.1.20.0080.0248.42
5.1.10.0070.0248.14
5.1.00.0030.0278.14
5.0.50.0010.0256.62
5.0.40.0060.0246.48
5.0.30.0090.0356.29
5.0.20.0030.0266.26
5.0.10.0060.0266.24
5.0.00.0010.0366.23
4.4.90.0010.0184.78
4.4.80.0000.0204.75
4.4.70.0020.0204.75
4.4.60.0020.0194.75
4.4.50.0040.0204.77
4.4.40.0010.0334.71
4.4.30.0030.0194.76
4.4.20.0070.0154.84
4.4.10.0040.0174.85
4.4.00.0050.0314.76
4.3.110.0050.0194.67
4.3.100.0060.0164.67
4.3.90.0030.0194.64
4.3.80.0040.0304.58
4.3.70.0070.0164.63
4.3.60.0050.0184.63
4.3.50.0050.0204.62
4.3.40.0040.0304.54
4.3.30.0040.0223.28
4.3.20.0050.0193.26
4.3.10.0050.0193.21
4.3.00.0270.01310.33

preferences:
37.65 ms | 400 KiB | 5 Q