3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hundred = '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789'; $password = 'foo'; $hash = password_hash($hundred . $password, PASSWORD_BCRYPT); $result = password_verify($hundred . 'BARx', $hash); var_dump($result);

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.0100.12816.94
7.2.00.0070.13318.94
7.1.200.0000.13415.77
7.1.100.0070.13118.15
7.1.70.0030.12717.05
7.1.60.0070.17619.46
7.1.50.0070.20516.70
7.1.00.0000.23022.32
7.0.200.0310.11616.88
7.0.140.0000.16321.95
7.0.110.0030.21020.02
7.0.100.0100.17019.86
7.0.90.0000.21719.89
7.0.80.0000.19020.00
7.0.70.0030.17019.91
7.0.60.0170.19319.84
7.0.50.0030.18020.02
7.0.40.0030.24319.71
7.0.30.0200.14019.75
7.0.20.0030.24019.71
7.0.10.0070.18719.68
7.0.00.0100.22019.67
5.6.280.0130.22021.09
5.6.260.0100.17720.62
5.6.250.0030.23320.68
5.6.240.0030.20320.64
5.6.230.0000.20020.69
5.6.220.0100.20020.70
5.6.210.0170.24020.39
5.6.200.0030.17320.68
5.6.190.0070.21020.64
5.6.180.0070.13320.55
5.6.170.0070.21020.56
5.6.160.0000.17720.85
5.6.150.0030.16320.60
5.6.140.0030.17720.51
5.6.130.0000.17320.64
5.6.120.0070.23720.64
5.6.110.0130.21720.84
5.6.100.0030.21320.54
5.6.90.0000.17020.58
5.6.80.0030.20720.00
5.6.70.0070.16719.98
5.6.60.0100.14320.22
5.6.50.0030.13019.97
5.6.40.0100.15719.99
5.6.30.0000.16719.96
5.6.20.0000.16320.00
5.6.10.0070.12719.96
5.6.00.0070.14019.97
5.5.380.0030.18317.70
5.5.370.0070.21017.72
5.5.360.0100.13017.49
5.5.350.0070.21017.52
5.5.340.0070.16317.93
5.5.330.0000.16717.89
5.5.320.0030.19717.77
5.5.310.0000.16718.13
5.5.300.0030.17717.89
5.5.290.0030.16317.91
5.5.280.0100.15718.10
5.5.270.0070.18318.11
5.5.260.0030.23318.06
5.5.250.0130.20017.66
5.5.240.0230.13017.31
5.5.230.0000.22017.45
5.5.220.0100.15717.23
5.5.210.0000.16317.30
5.5.200.0070.13017.61
5.5.190.0030.13317.18
5.5.180.0000.15717.34
5.5.160.0070.15717.21
5.5.150.0070.16017.37
5.5.140.0070.16017.44
5.5.130.0000.16317.47
5.5.120.0030.19017.25
5.5.110.0100.22717.47
5.5.100.0000.17017.33
5.5.90.0070.16017.01
5.5.80.0070.16017.23
5.5.70.0100.17017.37
5.5.60.0000.14717.10
5.5.50.0170.12317.09
5.5.40.0030.17017.36
5.5.30.0070.16317.14
5.5.20.0000.19717.48
5.5.10.0000.16317.31
5.5.00.0070.21717.46
5.4.450.0030.03719.49
5.4.440.0100.04719.31
5.4.430.0030.05719.43
5.4.420.0000.07019.48
5.4.410.0070.07719.31
5.4.400.0000.07719.03
5.4.390.0200.06319.12
5.4.380.0070.03719.10
5.4.370.0030.04019.12
5.4.360.0030.05319.02
5.4.350.0070.02719.00
5.4.340.0030.03719.21
5.4.320.0030.03019.16
5.4.310.0030.03018.95
5.4.300.0030.03018.95
5.4.290.0070.03719.27
5.4.280.0000.04019.16
5.4.270.0000.04719.18
5.4.260.0070.04319.00
5.4.250.0100.05319.11
5.4.240.0070.07019.15
5.4.230.0030.07719.09
5.4.220.0030.03019.16
5.4.210.0070.04318.95
5.4.200.0030.03718.94
5.4.190.0070.07318.97
5.4.180.0030.08319.12
5.4.170.0070.03318.97
5.4.160.0030.04018.92
5.4.150.0000.05019.09
5.4.140.0030.03316.26
5.4.130.0000.03316.22
5.4.120.0030.03716.22
5.4.110.0000.05716.53
5.4.100.0000.07716.51
5.4.90.0070.04716.37
5.4.80.0030.07716.22
5.4.70.0000.03316.48
5.4.60.0100.07016.38
5.4.50.0030.03716.25
5.4.40.0070.07016.43
5.4.30.0030.03016.48
5.4.20.0000.04316.34
5.4.10.0100.07016.46
5.4.00.0100.03315.61
5.3.290.0070.02714.66
5.3.280.0100.07014.43
5.3.270.0030.03714.54
5.3.260.0000.05714.43
5.3.250.0030.07314.45
5.3.240.0100.03014.52
5.3.230.0070.03014.61
5.3.220.0100.07014.49
5.3.210.0000.04314.64
5.3.200.0070.07314.44
5.3.190.0070.07714.50
5.3.180.0000.04014.48
5.3.170.0000.05314.42
5.3.160.0000.04014.59
5.3.150.0070.03714.50
5.3.140.0100.03314.61
5.3.130.0100.05714.40
5.3.120.0100.03714.47
5.3.110.0000.06014.42
5.3.100.0070.06013.88
5.3.90.0070.04013.92
5.3.80.0000.04013.84
5.3.70.0070.03314.02
5.3.60.0030.03714.07
5.3.50.0000.04013.84
5.3.40.0070.03313.77
5.3.30.0000.03713.79
5.3.20.0000.03713.55
5.3.10.0070.03013.67
5.3.00.0000.03713.73
5.2.170.0070.02312.79
5.2.160.0000.03012.79
5.2.150.0000.03012.79
5.2.140.0000.03312.79
5.2.130.0070.02312.79
5.2.120.0100.02012.79
5.2.110.0030.02712.79
5.2.100.0030.02312.79
5.2.90.0030.03012.79
5.2.80.0000.03012.79
5.2.70.0030.02312.79
5.2.60.0000.02712.79
5.2.50.0030.05712.79
5.2.40.0030.02712.79
5.2.30.0000.03712.79
5.2.20.0030.03312.79
5.2.10.0000.03012.79
5.2.00.0000.03012.79
5.1.60.0030.02312.79
5.1.50.0030.02312.79
5.1.40.0000.02312.79
5.1.30.0000.02712.79
5.1.20.0000.02312.79
5.1.10.0030.02312.79
5.1.00.0000.02712.79
5.0.50.0030.01712.79
5.0.40.0000.02012.79
5.0.30.0030.03012.79
5.0.20.0030.01712.79
5.0.10.0030.01312.79
5.0.00.0030.02312.79
4.4.90.0030.01312.79
4.4.80.0030.01712.79
4.4.70.0030.01312.79
4.4.60.0000.01312.79
4.4.50.0030.01312.79
4.4.40.0030.02312.79
4.4.30.0000.01312.79
4.4.20.0000.01712.79
4.4.10.0000.01312.79
4.4.00.0000.02712.79
4.3.110.0030.01312.79
4.3.100.0030.01312.79
4.3.90.0000.01312.79
4.3.80.0000.02312.79
4.3.70.0030.01012.79
4.3.60.0000.01312.79
4.3.50.0030.01012.79
4.3.40.0100.02012.79
4.3.30.0030.01012.79
4.3.20.0070.01012.79
4.3.10.0000.01712.79
4.3.00.0000.01312.79

preferences:
38.13 ms | 401 KiB | 5 Q