3v4l.org

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

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.110.0292.45616.38
7.2.00.0102.49118.84
7.1.100.0002.50117.73
7.1.70.0772.42316.98
7.1.60.0132.48819.32
7.1.50.0072.49516.89
7.1.00.0032.49722.27
7.0.200.0072.49416.67
7.0.140.0072.49322.00
7.0.60.0132.48720.02
7.0.50.0102.49017.72
7.0.40.0002.48319.79
7.0.30.0272.45319.88
7.0.20.0332.46719.81
7.0.10.0132.48719.71
7.0.00.0102.49019.89
5.6.280.0002.50021.14
5.6.210.0172.48320.62
5.6.200.0202.48018.18
5.6.190.0032.49720.29
5.6.180.0172.48320.38
5.6.170.0232.47720.20
5.6.160.0072.49320.34
5.6.150.0102.49018.07
5.6.140.0132.48718.17
5.6.130.0072.49318.06
5.6.120.0102.49021.14
5.6.110.0072.49321.07
5.6.100.0132.48721.01
5.6.90.0002.50020.94
5.6.80.0102.49020.41
5.5.350.4232.07720.43
5.5.340.0172.48317.93
5.5.330.0072.49320.17
5.5.320.0302.47020.12
5.5.310.0232.47719.95
5.5.300.0102.49017.96
5.5.290.0032.49717.87
5.5.280.0132.48720.77
5.5.270.0102.49020.77
5.5.260.0032.49720.67
5.5.250.0102.49020.69
5.5.240.0202.48020.24
5.4.450.0230.03019.44
5.4.440.0630.05719.10
5.4.430.1300.04719.44
5.4.420.0630.00019.34
5.4.410.0630.00019.41
5.4.400.0700.00019.16
5.4.390.0630.00019.18
5.4.380.0670.00019.07
5.4.370.0630.00019.26
5.4.360.0700.00019.16
5.4.350.0900.00019.18
5.4.340.0600.00018.92
5.4.320.0080.03412.45
5.4.310.0090.03412.45
5.4.300.0060.03612.45
5.4.290.0060.03712.45
5.4.280.0060.03512.35
5.4.270.0040.03812.35
5.4.260.0100.03412.35
5.4.250.0060.03712.35
5.4.240.0060.03612.34
5.4.230.0050.03912.34
5.4.220.0070.03912.34
5.4.210.0040.03512.34
5.4.200.0060.03612.34
5.4.190.0030.03812.33
5.4.180.0060.03612.34
5.4.170.0040.03812.35
5.4.160.0070.04012.34
5.4.150.0090.04312.34
5.4.140.0080.03512.02
5.4.130.0080.03412.01
5.4.120.0050.03611.97
5.4.110.0110.03011.96
5.4.100.0060.03511.96
5.4.90.0070.03511.96
5.4.80.0060.03611.96
5.4.70.0050.03511.96
5.4.60.0060.03411.96
5.4.50.0070.03411.96
5.4.40.0050.03511.95
5.4.30.0050.03711.95
5.4.20.0040.03611.94
5.4.10.0040.03611.95
5.4.00.0090.04411.44
5.3.290.0050.04012.80
5.3.280.0050.03812.71
5.3.270.0070.03812.72
5.3.260.0060.03912.71
5.3.250.0100.04012.72
5.3.240.0070.03712.72
5.3.230.0060.03812.71
5.3.220.0050.03812.68
5.3.210.0070.03712.68
5.3.200.0060.03712.68
5.3.190.0070.03612.67
5.3.180.0050.03712.67
5.3.170.0030.03812.66
5.3.160.0090.03212.68
5.3.150.0080.03512.68
5.3.140.0060.03612.66
5.3.130.0030.04112.66
5.3.120.0090.03712.66
5.3.110.0060.03912.66
5.3.100.0040.03812.12
5.3.90.0050.03712.08
5.3.80.0050.03712.07
5.3.70.0030.03912.08
5.3.60.0050.03812.06
5.3.50.0030.03912.00
5.3.40.0070.03512.00
5.3.30.0030.03811.95
5.3.20.0080.03211.72
5.3.10.0090.04311.71
5.3.00.0100.04811.68
5.2.170.0050.0329.18
5.2.160.0050.0349.18
5.2.150.0060.0319.18
5.2.140.0030.0329.18
5.2.130.0020.0329.14
5.2.120.0050.0289.14
5.2.110.0030.0319.14
5.2.100.0040.0299.14
5.2.90.0060.0279.14
5.2.80.0040.0309.14
5.2.70.0080.0279.14
5.2.60.0040.0319.09
5.2.50.0050.0299.06
5.2.40.0040.0299.04
5.2.30.0050.0309.01
5.2.20.0050.0299.00
5.2.10.0050.0278.92
5.2.00.0040.0298.79
5.1.60.0070.0218.07
5.1.50.0030.0268.06
5.1.40.0060.0238.05
5.1.30.0060.0248.39
5.1.20.0040.0268.42
5.1.10.0050.0248.14
5.1.00.0060.0238.14
5.0.50.0050.0186.63
5.0.40.0050.0176.48
5.0.30.0010.0336.29
5.0.20.0040.0186.27
5.0.10.0030.0206.24
5.0.00.0040.0306.23
4.4.90.0010.0174.78
4.4.80.0020.0154.75
4.4.70.0030.0154.75
4.4.60.0040.0144.75
4.4.50.0020.0164.77
4.4.40.0030.0244.71
4.4.30.0030.0164.76
4.4.20.0010.0184.84
4.4.10.0030.0204.85
4.4.00.0060.0214.76
4.3.110.0020.0164.66
4.3.100.0030.0154.66
4.3.90.0010.0164.63
4.3.80.0060.0244.59
4.3.70.0060.0184.63
4.3.60.0030.0274.63
4.3.50.0040.0174.63
4.3.40.0030.0264.54
4.3.30.0020.0213.29
4.3.20.0010.0173.26
4.3.10.0010.0193.21
4.3.00.0170.02016.50

preferences:
35.55 ms | 400 KiB | 5 Q