3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo password_hash('topSecret', PASSWORD_DEFAULT, ['cost'=>10]);

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.60.0170.06716.09
7.2.00.0100.06819.04
7.1.200.0130.06315.71
7.1.100.0030.07317.95
7.1.70.0030.06517.03
7.1.60.0070.08619.32
7.1.50.0100.12316.86
7.1.00.0070.09322.54
7.0.200.0070.07416.56
7.0.140.0030.15722.04
7.0.70.1270.09319.94
7.0.60.0030.18719.85
7.0.50.0070.15017.82
7.0.40.0070.11020.04
7.0.30.0370.14320.24
7.0.20.0170.11320.09
7.0.10.0230.13320.24
7.0.00.0030.15720.16
5.6.280.0070.17720.77
5.6.210.0130.10720.43
5.6.200.0070.10018.22
5.6.190.0000.10720.48
5.6.180.0070.10720.59
5.6.170.0570.12020.44
5.6.160.0030.10020.54
5.6.150.0030.10718.11
5.6.140.0000.10718.11
5.6.130.0170.16318.14
5.6.120.0130.15020.99
5.6.110.0030.13721.08
5.6.100.0100.16020.93
5.6.90.0130.18720.97
5.6.80.0070.15020.39
5.6.70.0170.15020.52
5.5.350.0030.15320.35
5.5.340.0070.10318.02
5.5.330.0070.10720.21
5.5.320.0070.10020.44
5.5.310.0200.09720.32
5.5.300.0000.16318.09
5.5.290.0100.16717.97
5.5.280.0070.10720.72
5.5.270.0130.11320.86
5.5.260.0230.15020.88
5.5.250.0130.19020.58
5.5.240.0130.14320.10
5.4.450.0600.03019.42
5.4.440.1230.05019.44
5.4.430.0600.06019.23
5.4.420.0670.00019.64
5.4.410.0630.00019.52
5.4.400.0630.00019.38
5.4.390.0630.00019.05
5.4.380.0630.00019.16
5.4.370.0630.00018.95
5.4.360.0630.00019.06
5.4.350.0630.00019.00
5.4.340.0600.00019.15
5.4.320.0060.03612.45
5.4.310.0090.03412.45
5.4.300.0080.03412.45
5.4.290.0060.03812.45
5.4.280.0050.03612.35
5.4.270.0090.03512.34
5.4.260.0060.04312.35
5.4.250.0060.04312.34
5.4.240.0040.03812.35
5.4.230.0040.03912.34
5.4.220.0090.04712.34
5.4.210.0090.04512.34
5.4.200.0040.05312.34
5.4.190.0050.04412.34
5.4.180.0040.03712.34
5.4.170.0050.03512.35
5.4.160.0030.03712.34
5.4.150.0050.04112.34
5.4.140.0050.03612.02
5.4.130.0040.03612.01
5.4.120.0060.03511.96
5.4.110.0050.03611.96
5.4.100.0050.03611.96
5.4.90.0110.03111.96
5.4.80.0060.03711.96
5.4.70.0040.03611.96
5.4.60.0060.03311.96
5.4.50.0060.03411.96
5.4.40.0070.03211.95
5.4.30.0030.04011.94
5.4.20.0070.03311.95
5.4.10.0020.03711.95
5.4.00.0070.03411.44
5.3.290.0050.04412.80
5.3.280.0070.04012.71
5.3.270.0090.03512.73
5.3.260.0070.03712.72
5.3.250.0050.03712.72
5.3.240.0060.03612.72
5.3.230.0080.03512.71
5.3.220.0080.04012.68
5.3.210.0040.04412.68
5.3.200.0070.03512.68
5.3.190.0070.03712.68
5.3.180.0080.03812.68
5.3.170.0070.03612.67
5.3.160.0090.03512.68
5.3.150.0060.03612.68
5.3.140.0040.03712.66
5.3.130.0090.03512.66
5.3.120.0060.04212.66
5.3.110.0060.03912.66
5.3.100.0070.03712.12
5.3.90.0060.03712.08
5.3.80.0040.03912.07
5.3.70.0070.03512.07
5.3.60.0080.03412.06
5.3.50.0070.03512.00
5.3.40.0080.03312.00
5.3.30.0060.03411.95
5.3.20.0060.03511.72
5.3.10.0040.03611.70
5.3.00.0030.03911.68
5.2.170.0100.0319.18
5.2.160.0070.0399.18
5.2.150.0040.0309.18
5.2.140.0030.0329.18
5.2.130.0040.0299.14
5.2.120.0040.0299.14
5.2.110.0050.0289.14
5.2.100.0080.0249.14
5.2.90.0070.0269.14
5.2.80.0080.0269.13
5.2.70.0030.0459.14
5.2.60.0050.0329.09
5.2.50.0090.0269.06
5.2.40.0060.0279.04
5.2.30.0060.0289.02
5.2.20.0040.0299.00
5.2.10.0060.0268.93
5.2.00.0060.0268.78
5.1.60.0040.0238.07
5.1.50.0040.0258.06
5.1.40.0050.0248.04
5.1.30.0060.0268.39
5.1.20.0020.0288.42
5.1.10.0040.0268.14
5.1.00.0060.0238.14
5.0.50.0000.0246.63
5.0.40.0030.0196.48
5.0.30.0030.0316.29
5.0.20.0050.0176.27
5.0.10.0050.0196.24
5.0.00.0020.0316.23
4.4.90.0040.0144.78
4.4.80.0020.0164.75
4.4.70.0040.0144.76
4.4.60.0030.0154.75
4.4.50.0030.0154.77
4.4.40.0040.0254.71
4.4.30.0030.0154.75
4.4.20.0030.0154.84
4.4.10.0050.0134.85
4.4.00.0080.0194.76
4.3.110.0070.0114.67
4.3.100.0040.0134.66
4.3.90.0060.0114.63
4.3.80.0060.0204.59
4.3.70.0080.0094.63
4.3.60.0080.0104.63
4.3.50.0060.0124.63
4.3.40.0060.0254.53
4.3.30.0040.0133.29
4.3.20.0060.0123.26
4.3.10.0030.0143.22
4.3.00.0070.02016.50

preferences:
40.01 ms | 400 KiB | 5 Q