3v4l.org

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

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.80.0000.01216.17
7.2.60.0000.01016.46
7.2.00.0000.01620.35
7.1.200.0120.00515.63
7.1.100.0000.01317.92
7.1.70.0030.00616.72
7.1.60.0060.01619.43
7.1.50.0140.01116.45
7.1.00.0030.03322.29
7.0.200.0100.00716.60
7.0.140.0100.06722.00
7.0.70.3770.03319.96
7.0.60.0070.06719.97
7.0.50.0100.08017.79
7.0.40.0070.06720.23
7.0.30.0470.07320.04
7.0.20.0270.04720.00
7.0.10.0330.07020.21
7.0.00.0070.03720.20
5.6.280.0030.07321.09
5.6.210.0030.06020.52
5.6.200.0070.04018.22
5.6.190.0070.04020.60
5.6.180.0100.07720.38
5.6.170.0300.06020.41
5.6.160.0100.04020.61
5.6.150.0030.05318.18
5.6.140.0000.07718.21
5.6.130.0030.09318.09
5.6.120.0170.07321.13
5.6.110.0130.07021.10
5.6.100.0070.04320.98
5.6.90.0030.06720.97
5.6.80.0100.05320.43
5.6.70.0130.07320.42
5.5.350.0000.03320.46
5.5.340.0000.05317.91
5.5.330.0070.04720.40
5.5.320.0030.06320.13
5.5.310.0270.04720.24
5.5.300.0100.06717.98
5.5.290.0030.04318.01
5.5.280.0100.08020.95
5.5.270.0130.07720.79
5.5.260.0000.06320.95
5.5.250.0100.08320.58
5.5.240.0100.05720.18
5.4.450.0570.05319.55
5.4.440.0230.05719.55
5.4.430.0200.06319.64
5.4.420.0030.06019.13
5.4.410.0100.05719.19
5.4.400.0130.05319.29
5.4.390.0170.05718.81
5.4.380.0030.06318.54
5.4.370.0070.04318.74
5.4.360.0030.04018.63
5.4.350.0060.04311.97
5.4.340.0050.04011.96
5.4.320.0040.04112.45
5.4.310.0050.03912.45
5.4.300.0080.03412.45
5.4.290.0040.04012.45
5.4.280.0120.03212.34
5.4.270.0040.04012.34
5.4.260.0060.04312.35
5.4.250.0070.07319.04
5.4.240.0100.05018.70
5.4.230.0070.05718.70
5.4.220.0100.05018.76
5.4.210.0030.05318.83
5.4.200.0130.05018.93
5.4.190.0030.06019.02
5.4.180.0100.06318.98
5.4.170.0130.06318.82
5.4.160.0100.05018.88
5.4.150.0100.05318.92
5.4.140.0070.05316.43
5.4.130.0070.04716.50
5.4.120.0070.04716.25
5.4.110.0100.04716.34
5.4.100.0030.05716.20
5.4.90.0130.05716.35
5.4.80.0070.05016.38
5.4.70.0000.06316.37
5.4.60.0100.04316.42
5.4.50.0100.04716.39
5.4.40.0030.05316.45
5.4.30.0030.05716.46
5.4.20.0100.04716.25
5.4.10.0070.05716.47
5.4.00.0030.06015.93
5.3.290.0100.04512.80
5.3.280.0200.03714.36
5.3.270.0000.0207.39
5.3.260.0000.05714.64
5.3.250.0170.04314.62
5.3.240.0100.04314.38
5.3.230.0170.06314.59
5.3.220.0030.05314.48
5.3.210.0030.05314.71
5.3.200.0130.04014.40
5.3.190.0070.07014.45
5.3.180.0030.05014.44
5.3.170.0030.05014.55
5.3.160.0070.05014.55
5.3.150.0100.07314.59
5.3.140.0100.05314.55
5.3.130.0100.05014.45
5.3.120.0030.07014.55
5.3.110.0100.06314.46
5.3.100.0130.06314.18
5.3.90.0000.07014.16
5.3.80.0070.07014.02
5.3.70.0130.06013.87
5.3.60.0000.07313.97
5.3.50.0100.05713.96
5.3.40.0070.07313.81
5.3.30.0170.05013.79
5.3.20.0070.04713.53
5.3.10.0070.04713.59
5.3.00.0030.05713.63
5.2.170.0100.04711.02
5.2.160.0070.05711.09
5.2.150.0070.05311.18
5.2.140.0030.04311.15
5.2.130.0030.04010.98
5.2.120.0100.03311.02
5.2.110.0030.04010.87
5.2.100.0000.04711.11
5.2.90.0070.03711.00
5.2.80.0170.04311.19
5.2.70.0070.05311.10
5.2.60.0100.05310.88
5.2.50.0070.06011.11
5.2.40.0100.03310.91
5.2.30.0000.04310.90
5.2.20.0130.04010.84
5.2.10.0100.04010.75
5.2.00.0130.03010.79
5.1.60.0000.03710.03
5.1.50.0070.04710.02
5.1.40.0000.05310.21
5.1.30.0100.03010.25
5.1.20.0070.03310.33
5.1.10.0030.03710.11
5.1.00.0000.04010.08
5.0.50.0030.0338.50
5.0.40.0030.0408.17
5.0.30.0030.0408.18
5.0.20.0030.0278.34
5.0.10.0000.0278.19
5.0.00.0070.0338.17
4.4.90.0030.0307.39
4.4.80.0030.0207.39
4.4.70.0030.0207.39
4.4.60.0070.0177.39
4.4.50.0000.0237.39
4.4.40.0000.0377.39
4.4.30.0030.0207.39
4.4.20.0030.0207.39
4.4.10.0030.0207.39
4.4.00.0030.0307.39
4.3.110.0070.0207.39
4.3.100.0000.0207.39
4.3.90.0070.0207.39
4.3.80.0000.0337.39
4.3.70.0030.0277.39
4.3.60.0030.0207.39
4.3.50.0000.0207.39
4.3.40.0000.0337.39
4.3.30.0070.0237.39
4.3.20.0030.0237.39
4.3.10.0030.0177.39
4.3.00.0100.0137.26

preferences:
36.97 ms | 401 KiB | 5 Q