3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cost = 12; echo password_hash('miauw woef boe schrik', PASSWORD_BCRYPT, array('cost' => $cost /* 12 */));

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.0070.25116.74
7.2.00.0030.25818.82
7.1.200.0030.24915.89
7.1.100.0000.26218.04
7.1.70.0000.24716.96
7.1.60.0130.30019.40
7.1.50.0100.27616.95
7.1.00.0000.25022.40
7.0.200.0130.24314.73
7.0.140.0070.33022.05
7.0.120.0030.34322.05
7.0.60.0100.32319.82
7.0.50.0000.28017.83
7.0.40.0030.27717.77
7.0.30.0030.27717.72
7.0.20.0030.30017.90
7.0.10.0000.36317.75
7.0.00.0030.31017.78
5.6.210.0170.31720.74
5.6.200.0000.28018.15
5.6.190.0000.28718.11
5.6.180.0030.27318.11
5.6.170.0030.27718.19
5.6.160.0100.34718.15
5.6.150.0030.29018.29
5.6.140.0100.31318.18
5.6.130.0100.34718.16
5.6.120.0100.35018.16
5.6.110.0070.31318.17
5.6.100.0100.33718.16
5.6.90.0100.28718.15
5.6.80.0100.31017.56
5.6.70.0000.34317.57
5.6.60.0030.28317.55
5.6.50.0070.35017.57
5.6.40.0100.33017.53
5.6.30.0100.33717.55
5.6.20.0100.33717.52
5.6.10.0130.32017.46
5.6.00.0070.33317.49
5.5.350.0400.32320.35
5.5.340.0030.28317.95
5.5.330.0000.28317.95
5.5.320.0070.28018.07
5.5.310.0000.27718.00
5.5.300.0070.34017.98
5.5.290.0030.33017.90
5.5.280.0030.35017.98
5.5.270.0070.34718.07
5.5.260.0070.33718.02
5.5.250.0070.33317.77
5.5.240.0130.33717.26
5.5.230.0070.33017.36
5.5.220.0030.35317.39
5.5.210.0130.33717.25
5.5.200.0030.31717.23
5.5.190.0030.33717.36
5.5.180.0030.29317.33
5.5.160.0030.33717.34
5.5.150.0070.33317.29
5.5.140.0170.32317.29
5.5.130.0100.29717.33
5.5.120.0100.32717.26
5.5.110.0130.32717.30
5.5.100.0030.28317.24
5.5.90.0100.33317.14
5.5.80.0130.31317.20
5.5.70.0070.34317.20
5.5.60.0030.29017.32
5.5.50.0100.27717.16
5.5.40.0030.31017.15
5.5.30.0070.31317.19
5.5.20.0100.33717.21
5.5.10.0030.28317.18
5.5.00.0000.28317.19
5.4.450.0030.08319.30
5.4.440.0070.08019.32
5.4.430.0070.08019.30
5.4.420.0070.05019.39
5.4.410.0030.04719.27
5.4.400.0100.07018.90
5.4.390.0100.07318.98
5.4.380.0030.05719.12
5.4.370.0130.07018.98
5.4.360.0070.04719.04
5.4.350.0000.04319.12
5.4.340.0100.04019.02
5.4.320.0100.03319.01
5.4.310.0030.08019.16
5.4.300.0070.07319.05
5.4.290.0030.08319.11
5.4.280.0000.07019.13
5.4.270.0200.05319.09
5.4.260.0000.05318.98
5.4.250.0030.08319.02
5.4.240.0100.07319.05
5.4.230.0130.07019.02
5.4.220.0170.06718.94
5.4.210.0170.06018.95
5.4.200.0070.08019.02
5.4.190.0070.05319.10
5.4.180.0100.04719.00
5.4.170.0100.03318.97
5.4.160.0070.03318.95
5.4.150.0030.03718.87
5.4.140.0000.04016.48
5.4.130.0000.04316.30
5.4.120.0100.06716.20
5.4.110.0070.07016.41
5.4.100.0030.07716.17
5.4.90.0070.07316.28
5.4.80.0130.04316.50
5.4.70.0170.05716.34
5.4.60.0070.05316.50
5.4.50.0070.07016.40
5.4.40.0170.05716.29
5.4.30.0030.07716.30
5.4.20.0070.07316.39
5.4.10.0000.04316.23
5.4.00.0170.05315.70
5.3.290.0030.05714.52
5.3.280.0130.07014.46
5.3.270.0070.03714.53
5.3.260.0070.03314.56
5.3.250.0030.03714.42
5.3.240.0100.04714.57
5.3.230.0070.05014.45
5.3.220.0100.04314.34
5.3.210.0000.05314.48
5.3.200.0100.07314.50
5.3.190.0100.07014.39
5.3.180.0070.08014.47
5.3.170.0030.07714.52
5.3.160.0070.07714.54
5.3.150.0070.07714.49
5.3.140.0130.07314.52
5.3.130.0070.06714.51
5.3.120.0030.08014.37
5.3.110.0100.04714.46
5.3.100.0100.07013.86
5.3.90.0000.06313.79
5.3.80.0030.05713.96
5.3.70.0100.04013.97
5.3.60.0070.03713.76
5.3.50.0070.03313.93
5.3.40.0100.04013.91
5.3.30.0000.05713.99
5.3.20.0000.05313.68
5.3.10.0070.06313.61
5.3.00.0030.07313.39
5.2.170.0030.06711.17
5.2.160.0030.04011.11
5.2.150.0030.04011.18
5.2.140.0100.06311.09
5.2.130.0070.04311.00
5.2.120.0070.06311.09
5.2.110.0100.05711.05
5.2.100.0070.05011.07
5.2.90.0100.04311.09
5.2.80.0100.05011.23
5.2.70.0130.03711.23
5.2.60.0100.05711.01
5.2.50.0070.06710.84
5.2.40.0030.06010.98
5.2.30.0030.05010.99
5.2.20.0030.06010.94
5.2.10.0070.05710.75
5.2.00.0000.05710.58
5.1.60.0030.0409.82
5.1.50.0070.0479.92
5.1.40.0070.05010.01
5.1.30.0030.05710.30
5.1.20.0100.02710.34
5.1.10.0000.03310.04
5.1.00.0070.02010.21
5.0.50.0030.0208.61
5.0.40.0000.0278.43
5.0.30.0000.0408.24
5.0.20.0000.0338.25
5.0.10.0030.0208.24
5.0.00.0030.0308.20
4.4.90.0000.0308.20
4.4.80.0000.0308.20
4.4.70.0030.0238.20
4.4.60.0000.0278.20
4.4.50.0000.0208.20
4.4.40.0030.0538.20
4.4.30.0070.0308.20
4.4.20.0000.0338.20
4.4.10.0030.0238.20
4.4.00.0000.0278.20
4.3.110.0030.0278.20
4.3.100.0030.0138.20
4.3.90.0030.0178.20
4.3.80.0000.0278.20
4.3.70.0030.0238.20
4.3.60.0000.0338.20
4.3.50.0000.0238.20
4.3.40.0070.0308.20
4.3.30.0000.0338.20
4.3.20.0030.0278.20
4.3.10.0070.0338.20
4.3.00.0070.0278.20

preferences:
38.61 ms | 404 KiB | 6 Q