3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hashed =password_hash('mypass', PASSWORD_BCRYPT); echo $hashed;

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.10.0100.07416.21
7.4.00.0100.07116.54
7.3.130.0100.07716.48
7.3.120.0110.06815.43
7.3.110.0100.06615.60
7.3.100.0100.06515.38
7.3.90.0020.07415.36
7.3.80.0030.07115.32
7.3.70.0100.06815.39
7.3.60.0050.06915.35
7.3.50.0080.06615.43
7.3.40.0060.06915.46
7.3.30.0030.07415.35
7.3.20.0050.07017.20
7.3.10.0060.06916.73
7.3.00.0030.07116.81
7.2.260.0030.07016.22
7.2.250.0130.07016.41
7.2.240.0020.07515.78
7.2.230.0080.07115.51
7.2.220.0030.07715.46
7.2.210.0080.06515.65
7.2.200.0030.07215.69
7.2.190.0020.07515.57
7.2.180.0030.07115.67
7.2.170.0070.06815.54
7.2.160.0050.07115.73
7.2.150.0030.07017.44
7.2.140.0070.06817.66
7.2.130.0050.07017.07
7.2.120.0030.07117.15
7.2.110.0030.07316.84
7.2.100.0050.06817.04
7.2.90.0060.07017.06
7.2.80.0080.06816.96
7.2.70.0050.07117.06
7.2.60.0070.07117.14
7.2.50.0050.07517.15
7.2.40.0070.06717.11
7.2.30.0070.06717.23
7.2.20.0060.06717.12
7.2.10.0060.06917.07
7.2.00.0050.07117.58
7.1.330.0050.07116.44
7.1.320.0050.07016.56
7.1.310.0030.07016.51
7.1.300.0020.07316.50
7.1.290.0020.07316.43
7.1.280.0080.06916.35
7.1.270.0020.07316.59
7.1.260.0080.06616.60
7.1.250.0040.07215.97
7.1.240.0050.06916.36
7.1.230.0070.07116.27
7.1.220.0050.07016.32
7.1.210.0030.07016.42
7.1.200.0090.06916.00
7.1.190.0080.06416.33
7.1.180.0080.06316.45
7.1.170.0020.06916.34
7.1.160.0080.06916.34
7.1.150.0030.07116.33
7.1.140.0020.07016.17
7.1.130.0020.07316.39
7.1.120.0080.06616.26
7.1.110.0020.07616.53
7.1.100.0080.06716.92
7.1.90.0080.06516.37
7.1.80.0050.07116.44
7.1.70.0040.07016.42
7.1.60.0090.08617.44
7.1.50.0090.08722.45
7.1.40.0080.06516.35
7.1.30.0050.06816.40
7.1.20.0030.06916.32
7.1.10.0080.06516.41
7.1.00.0060.10218.24
7.0.330.0050.07116.04
7.0.320.0030.06816.18
7.0.310.0070.06916.14
7.0.300.0020.07315.91
7.0.290.0030.07716.02
7.0.280.0050.06516.00
7.0.270.0030.07115.79
7.0.260.0050.07115.73
7.0.250.0070.06616.07
7.0.240.0020.07116.20
7.0.230.0050.06916.04
7.0.220.0030.06716.06
7.0.210.0030.06916.03
7.0.200.0020.07116.18
7.0.190.0020.07116.15
7.0.180.0050.06915.84
7.0.170.0080.06616.09
7.0.160.0080.06716.11
7.0.150.0030.07316.10
7.0.140.0030.07216.05
7.0.130.0030.06916.05
7.0.120.0070.07116.05
7.0.110.0050.06915.91
7.0.100.0050.06916.04
7.0.90.0030.07016.13
7.0.80.0050.06615.83
7.0.70.0050.06816.12
7.0.60.0080.10417.23
7.0.50.0080.09916.71
7.0.40.0080.07616.06
7.0.30.0170.09216.22
7.0.20.0070.08316.06
7.0.10.0070.08116.13
7.0.00.0110.09216.03
5.6.400.0060.06815.88
5.6.390.0030.06815.97
5.6.380.0070.06914.93
5.6.370.0030.07114.90
5.6.360.0060.06715.04
5.6.350.0030.07115.00
5.6.340.0050.06914.95
5.6.330.0000.07014.87
5.6.320.0050.06914.85
5.6.310.0050.06814.87
5.6.300.0070.06914.87
5.6.290.0050.06814.69
5.6.280.0030.07816.92
5.6.270.0070.06714.84
5.6.260.0060.06714.86
5.6.250.0050.06714.96
5.6.240.0070.07014.96
5.6.230.0070.06514.74
5.6.220.0060.06914.82
5.6.210.0060.08416.73
5.6.200.0070.09616.05
5.6.190.0040.08716.85
5.6.180.0100.08616.73
5.6.170.0110.10016.68
5.6.160.0080.08816.82
5.6.150.0040.10216.04
5.6.140.0080.10116.03
5.6.130.0030.10116.08
5.6.120.0100.09517.10
5.6.110.0030.08716.99
5.6.100.0070.07717.01
5.6.90.0050.08716.98
5.6.80.0020.10116.71
5.6.70.0070.09316.83
5.6.60.0060.07014.87
5.6.50.0070.06614.97
5.6.40.0050.06814.84
5.6.30.0070.07515.08
5.6.20.0080.06614.97
5.6.10.0020.07114.77
5.6.00.0050.06914.76
5.5.380.0080.06613.32
5.5.370.0000.07213.38
5.5.360.0050.07013.28
5.5.350.0020.09915.65
5.5.340.0070.09714.87
5.5.330.0070.10015.63
5.5.320.0040.08015.58
5.5.310.0100.08115.62
5.5.300.0040.10014.79
5.5.290.0030.09214.90
5.5.280.0040.08015.75
5.5.270.0060.08215.74
5.5.260.0070.10315.86
5.5.250.0080.10015.59
5.5.240.0070.09915.59
5.5.230.0020.07313.26
5.5.220.0030.07113.12
5.5.210.0050.06613.18
5.5.200.0050.07013.19
5.5.190.0080.06413.26
5.5.180.0050.07013.12
5.5.170.0050.06913.26
5.5.160.0070.06713.29
5.5.150.0030.07113.22
5.5.140.0000.07113.03
5.5.130.0070.06713.22
5.5.120.0080.06712.95
5.5.110.0020.07013.05
5.5.100.0030.06713.06
5.5.90.0070.06713.34
5.5.80.0050.06713.08
5.5.70.0070.06913.29
5.5.60.0020.06913.32
5.5.50.0020.06913.13
5.5.40.0070.06813.28
5.5.30.0050.07013.19
5.5.20.0030.07113.21
5.5.10.0050.07013.12
5.5.00.0050.06813.05
5.4.450.0240.02214.27
5.4.440.0210.02614.18
5.4.430.0240.02414.35
5.4.420.0250.02414.20
5.4.410.0260.02014.10
5.4.400.0240.02414.09
5.4.390.0260.02014.25
5.4.380.0300.01814.14
5.4.370.0210.02114.13
5.4.360.0230.02214.22
5.4.350.0230.02114.13
5.4.340.0250.02114.26
5.4.330.0050.00611.76
5.4.320.0230.02314.05
5.4.310.0240.02414.15
5.4.300.0290.01914.08
5.4.290.0260.02014.23
5.4.280.0220.02314.22
5.4.270.0300.02214.17
5.4.260.0250.02214.09
5.4.250.0310.01814.17
5.4.240.0300.01814.17
5.4.230.0300.01914.28
5.4.220.0300.02014.13
5.4.210.0310.01814.07
5.4.200.0270.02114.17
5.4.190.0310.01714.26
5.4.180.0340.01614.17
5.4.170.0300.02014.24
5.4.160.0270.02214.11
5.4.150.0310.02114.14
5.4.140.0370.01413.23
5.4.130.0320.02213.21
5.4.120.0370.01513.28
5.4.110.0280.02113.09
5.4.100.0320.02413.32
5.4.90.0280.01913.32
5.4.80.0240.02213.22
5.4.70.0280.02013.33
5.4.60.0330.02213.26
5.4.50.0290.02013.19
5.4.40.0400.02213.32
5.4.30.0260.02113.32
5.4.20.0300.01713.16
5.4.10.0260.02013.29
5.4.00.0230.02113.10

preferences:
33.5 ms | 400 KiB | 5 Q