3v4l.org

run code in 300+ PHP versions simultaneously
<?php password_hash('foo', PASSWORD_DEFAULT);

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.0080.00816.92
7.2.00.0090.00319.20
7.1.200.0070.00715.42
7.1.100.0000.00918.04
7.1.70.0040.00416.89
7.1.60.0130.01019.25
7.1.50.0030.01616.95
7.1.00.0000.08022.45
7.0.200.0160.00516.24
7.0.140.0000.07722.08
7.0.60.0030.06320.02
7.0.50.0070.06717.66
7.0.40.0070.09019.98
7.0.30.0130.04720.04
7.0.20.0300.07320.30
7.0.10.0030.09020.17
7.0.00.0100.07720.38
5.6.280.0000.07721.07
5.6.210.0030.06320.75
5.6.200.0000.04318.08
5.6.190.0100.04020.44
5.6.180.0170.04020.58
5.6.170.0270.05020.50
5.6.160.0000.05320.52
5.6.150.0000.04018.12
5.6.140.0130.06318.20
5.6.130.0000.04318.25
5.6.120.0000.05020.98
5.6.110.0130.08720.97
5.6.100.0030.04021.00
5.6.90.0130.07720.97
5.6.80.0130.07720.52
5.5.350.0000.04020.46
5.5.340.0130.06017.88
5.5.330.0100.07020.19
5.5.320.0270.05020.18
5.5.310.0200.04020.33
5.5.300.0070.06717.95
5.5.290.0070.09017.86
5.5.280.0030.07720.68
5.5.270.0070.06320.84
5.5.260.0030.04020.75
5.5.250.0000.05720.49
5.5.240.4170.04020.11
5.4.450.0300.05019.21
5.4.440.0230.03719.10
5.4.430.0330.04719.45
5.4.420.0230.03719.42
5.4.410.0470.04719.43
5.4.400.0230.04019.12
5.4.390.0230.04318.93
5.4.380.0970.05018.60
5.4.370.0170.05318.56
5.4.360.0170.05718.66
5.4.350.0270.05718.66
5.4.340.0130.05718.66
5.4.320.0050.03712.45
5.4.310.0070.03712.45
5.4.300.0050.03712.45
5.4.290.0040.04012.45
5.4.280.0060.03612.35
5.4.270.0080.03612.34
5.4.260.0080.03912.34
5.4.250.0060.03612.35
5.4.240.0080.03812.35
5.4.230.0040.03912.34
5.4.220.0030.03812.34
5.4.210.0060.04312.34
5.4.200.0070.03612.34
5.4.190.0080.03412.33
5.4.180.0050.03612.33
5.4.170.0090.03612.35
5.4.160.0080.03812.34
5.4.150.0040.03912.34
5.4.140.0040.03812.02
5.4.130.0060.03512.01
5.4.120.0030.03711.96
5.4.110.0050.03611.96
5.4.100.0040.04211.96
5.4.90.0050.04211.96
5.4.80.0040.03811.96
5.4.70.0040.03611.96
5.4.60.0070.04111.96
5.4.50.0050.04211.96
5.4.40.0060.03411.95
5.4.30.0040.04411.95
5.4.20.0030.03611.95
5.4.10.0060.03311.95
5.4.00.0050.03811.44
5.3.290.0050.04112.80
5.3.280.0070.04212.71
5.3.270.0080.03612.72
5.3.260.0030.04112.72
5.3.250.0070.03612.72
5.3.240.0070.03912.72
5.3.230.0070.03512.71
5.3.220.0120.03812.68
5.3.210.0090.04012.68
5.3.200.0100.03412.68
5.3.190.0030.04012.67
5.3.180.0050.04012.68
5.3.170.0040.03812.67
5.3.160.0050.03812.67
5.3.150.0080.03512.68
5.3.140.0050.03812.66
5.3.130.0060.03912.66
5.3.120.0100.03412.66
5.3.110.0050.03912.66
5.3.100.0060.03612.12
5.3.90.0080.05112.08
5.3.80.0060.03612.07
5.3.70.0040.04312.08
5.3.60.0060.04212.07
5.3.50.0060.03512.00
5.3.40.0060.03612.00
5.3.30.0080.03611.95
5.3.20.0060.03511.72
5.3.10.0020.03711.70
5.3.00.0060.03811.68
5.2.170.0050.0319.18
5.2.160.0020.0319.18
5.2.150.0060.0289.18
5.2.140.0040.0339.18
5.2.130.0060.0309.14
5.2.120.0050.0299.14
5.2.110.0050.0279.14
5.2.100.0030.0299.14
5.2.90.0070.0259.13
5.2.80.0080.0299.13
5.2.70.0040.0369.14
5.2.60.0060.0329.09
5.2.50.0050.0299.06
5.2.40.0100.0319.03
5.2.30.0020.0329.01
5.2.20.0040.0299.00
5.2.10.0050.0268.92
5.2.00.0050.0288.78
5.1.60.0070.0268.07
5.1.50.0050.0258.06
5.1.40.0020.0268.04
5.1.30.0030.0298.39
5.1.20.0060.0248.41
5.1.10.0050.0258.13
5.1.00.0050.0278.14
5.0.50.0060.0186.62
5.0.40.0020.0206.48
5.0.30.0030.0316.29
5.0.20.0030.0196.25
5.0.10.0060.0166.23
5.0.00.0040.0296.23
4.4.90.0010.0164.78
4.4.80.0030.0144.75
4.4.70.0040.0184.76
4.4.60.0020.0174.75
4.4.50.0030.0144.77
4.4.40.0020.0254.71
4.4.30.0040.0174.76
4.4.20.0070.0114.84
4.4.10.0030.0144.85
4.4.00.0050.0314.76
4.3.110.0040.0204.66
4.3.100.0030.0184.66
4.3.90.0050.0164.63
4.3.80.0030.0254.59
4.3.70.0050.0124.63
4.3.60.0000.0194.63
4.3.50.0040.0134.63
4.3.40.0030.0234.54
4.3.30.0020.0163.28
4.3.20.0040.0143.25
4.3.10.0020.0153.21
4.3.00.0070.01715.28

preferences:
35.45 ms | 400 KiB | 5 Q