3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * We just want to hash our password using the current DEFAULT algorithm. * This is presently BCRYPT, and will produce a 60 character result. * * Beware that DEFAULT may change over time, so you would want to prepare * By allowing your storage to expand past 60 characters (255 would be good) */ echo password_hash("12345678", PASSWORD_DEFAULT)."\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.2.120.0100.06716.70
7.2.110.0070.06616.26
7.2.100.0100.06916.68
7.2.90.0130.06116.54
7.2.80.0070.06616.77
7.2.70.0060.06716.88
7.2.60.0070.07016.63
7.2.50.0000.07716.71
7.2.40.0000.07617.07
7.2.30.0000.07117.00
7.2.20.0070.06616.70
7.2.10.0030.07017.04
7.2.00.0020.07317.96
7.1.240.0030.06815.75
7.1.230.0030.07115.80
7.1.220.0000.07315.41
7.1.210.0190.06415.74
7.1.200.0080.06715.71
7.1.190.0030.07115.89
7.1.180.0030.07015.46
7.1.170.0100.06115.58
7.1.160.0070.06715.83
7.1.150.0030.07415.70
7.1.140.0070.06715.66
7.1.130.0070.06715.72
7.1.120.0030.06615.79
7.1.110.0030.07415.71
7.1.100.0070.06716.72
7.1.90.0000.07615.75
7.1.80.0130.06115.88
7.1.70.0030.07016.55
7.1.60.0050.09417.54
7.1.50.0050.07016.25
7.1.40.0070.06815.77
7.1.30.0030.06915.85
7.1.20.0070.06715.84
7.1.10.0100.06315.80
7.1.00.0070.11119.02
7.0.320.0100.06615.25
7.0.310.0000.07215.36
7.0.300.0000.07415.32
7.0.290.0000.07215.48
7.0.280.0000.07315.10
7.0.270.0060.06515.29
7.0.260.0070.06615.12
7.0.250.0000.06815.24
7.0.240.0060.06815.47
7.0.230.0070.06615.20
7.0.220.0030.07015.43
7.0.210.0000.07515.18
7.0.200.0130.06814.84
7.0.190.0000.07215.31
7.0.180.0000.07615.41
7.0.170.0000.07615.35
7.0.160.0060.06515.35
7.0.150.0070.06815.30
7.0.140.0020.11318.75
7.0.130.0070.06515.38
7.0.120.0030.06715.39
7.0.110.0070.06615.19
7.0.100.0000.06715.36
7.0.90.0030.07415.04
7.0.80.0030.07115.09
7.0.70.0030.11618.62
7.0.60.0030.11718.49
7.0.50.0030.11318.65
7.0.40.0080.10916.84
7.0.30.0150.11216.65
7.0.20.0080.10716.65
7.0.10.0050.10316.78
7.0.00.0030.08716.74
5.6.380.0060.06414.45
5.6.370.0060.06814.11
5.6.360.0030.07114.47
5.6.350.0070.06814.02
5.6.340.0070.07014.01
5.6.330.0100.06714.12
5.6.320.0070.06714.09
5.6.310.0030.07114.10
5.6.300.0060.06814.09
5.6.290.0070.06913.99
5.6.280.0080.11417.50
5.6.270.0000.07714.17
5.6.260.0070.06614.09
5.6.250.0070.06514.10
5.6.240.0100.06714.17
5.6.230.0100.06414.32
5.6.220.0100.10917.37
5.6.210.0100.12017.34
5.6.200.0050.09017.57
5.6.190.0030.11017.73
5.6.180.0020.12317.53
5.6.170.0030.12617.75
5.6.160.0030.11617.61
5.6.150.0050.11917.57
5.6.140.0030.12617.56
5.6.130.0030.10417.58
5.6.120.0030.08817.54
5.6.110.0020.08817.47
5.6.100.0070.08017.61
5.6.90.0030.07817.64
5.6.80.0030.07617.37
5.6.70.0030.08817.23
5.6.60.0050.08417.31
5.6.50.0000.08217.20
5.6.40.0050.08517.23
5.6.30.0050.08117.24
5.6.20.0070.08517.42
5.6.10.0080.07417.32
5.6.00.0050.07517.26
5.5.380.0000.07411.13
5.5.370.0000.07611.25
5.5.360.0030.12015.52
5.5.350.0070.11415.61
5.5.340.0000.08916.07
5.5.330.0070.09316.06
5.5.320.0070.11515.87
5.5.310.0070.08815.82
5.5.300.0120.11015.85
5.5.290.0050.08915.93
5.5.280.0070.08415.93
5.5.270.0030.07815.89
5.5.260.0020.07815.98
5.5.250.0030.07415.71
5.5.240.0020.08315.51
5.5.230.0030.07615.60
5.5.220.0020.09715.63
5.5.210.0000.08715.52
5.5.200.0030.07615.52
5.5.190.0020.08515.63
5.5.180.0020.08815.56
5.5.170.0000.07414.04
5.5.160.0030.08515.42
5.5.150.0050.10015.68
5.5.140.0030.11315.44
5.5.130.0020.08315.61
5.5.120.0020.09615.55
5.5.110.0020.10915.67
5.5.100.0030.12215.38
5.5.90.0100.10515.55
5.5.80.0050.11915.55
5.5.70.0030.09215.52
5.5.60.0050.10815.46
5.5.50.0030.10215.55
5.5.40.0030.11715.52
5.5.30.0000.08915.51
5.5.20.0050.11215.48
5.5.10.0030.11115.53
5.5.00.0050.09015.43
5.4.450.0030.02314.97
5.4.440.0050.02214.92
5.4.430.0020.02215.13
5.4.420.0000.02715.17
5.4.410.0050.01714.84
5.4.400.0010.02414.93
5.4.390.0050.03214.85
5.4.380.0040.02114.84
5.4.370.0030.03014.89
5.4.360.0020.01714.77
5.4.350.0050.01814.99
5.4.340.0060.02014.93
5.4.330.0060.00310.69
5.4.320.0000.02814.75
5.4.310.0030.02314.83
5.4.300.0050.02514.89
5.4.290.0040.02315.01
5.4.280.0050.02614.83
5.4.270.0050.02214.98
5.4.260.0040.03514.91
5.4.250.0040.02814.87
5.4.240.0070.04114.82
5.4.230.0030.03714.91
5.4.220.0070.03714.96
5.4.210.0020.04314.84
5.4.200.0080.03814.76
5.4.190.0030.03814.91
5.4.180.0000.03014.79
5.4.170.0030.04414.88
5.4.160.0100.03615.00
5.4.150.0030.03814.87
5.4.140.0050.02713.40
5.4.130.0040.03813.52
5.4.120.0060.03613.45
5.4.110.0090.03013.48
5.4.100.0000.03213.55
5.4.90.0080.03513.55
5.4.80.0060.03713.59
5.4.70.0030.03613.49
5.4.60.0080.03513.61
5.4.50.0050.04213.51
5.4.40.0020.04113.48
5.4.30.0050.04113.49
5.4.20.0030.03913.53
5.4.10.0040.03813.59
5.4.00.0000.03813.29
5.3.290.0030.02312.44
5.3.280.0000.04012.44
5.3.270.0000.04612.44
5.3.260.0060.04112.42
5.3.250.0030.03512.45
5.3.240.0000.04112.45
5.3.230.0090.03212.42
5.3.220.0010.04112.43
5.3.210.0050.04212.43
5.3.200.0020.04212.41
5.3.190.0030.02812.43
5.3.180.0030.04312.41
5.3.170.0040.03212.46
5.3.160.0030.04012.44
5.3.150.0050.03212.43
5.3.140.0000.03112.38
5.3.130.0030.04212.40
5.3.120.0050.04312.34
5.3.110.0000.04012.41
5.3.100.0030.04012.08
5.3.90.0040.04012.16
5.3.80.0050.03512.12
5.3.70.0070.03512.05
5.3.60.0040.02312.08
5.3.50.0010.04012.13
5.3.40.0050.02812.10
5.3.30.0020.03711.99
5.3.20.0070.03712.00
5.3.10.0060.03111.96
5.3.00.0050.02511.96
5.2.170.0050.02311.29
5.2.160.0030.01911.29
5.2.150.0060.02811.29
5.2.140.0020.03011.29
5.2.130.0020.03511.29
5.2.120.0090.02811.29
5.2.110.0000.03311.29
5.2.100.0050.02311.29
5.2.90.0010.02311.29
5.2.80.0030.03111.29
5.2.70.0020.03211.29
5.2.60.0050.01811.29
5.2.50.0000.01911.29
5.2.40.0000.02411.29
5.2.30.0040.03211.29
5.2.20.0060.01611.29
5.2.10.0010.02311.29
5.2.00.0020.03411.29
5.1.60.0010.02311.29
5.1.50.0050.02611.29
5.1.40.0020.02811.29
5.1.30.0080.02711.29
5.1.20.0050.02011.29
5.1.10.0030.02011.29
5.1.00.0020.03211.29
5.0.50.0020.02311.29
5.0.40.0030.01211.29
5.0.30.0030.03511.29
5.0.20.0050.02011.29
5.0.10.0050.02211.29
5.0.00.0030.03311.29
4.4.90.0040.01311.29
4.4.80.0000.02211.29
4.4.70.0040.01511.29
4.4.60.0000.02311.29
4.4.50.0020.01711.29
4.4.40.0020.02811.29
4.4.30.0020.01411.29
4.4.20.0000.01911.29
4.4.10.0020.02211.29
4.4.00.0030.02811.29
4.3.110.0010.01511.29
4.3.100.0020.01211.29
4.3.90.0030.01811.29
4.3.80.0030.02311.29
4.3.70.0020.02011.29
4.3.60.0020.01811.29
4.3.50.0070.01511.29
4.3.40.0020.02211.29
4.3.30.0010.01311.29
4.3.20.0050.01211.29
4.3.10.0030.02011.29
4.3.00.0030.01211.29

preferences:
28.78 ms | 401 KiB | 5 Q