3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hundred = '1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'; $password = 'foo'; $hash = password_hash($password . $hundred, PASSWORD_BCRYPT); $result = password_verify($hundred . 'BAR', $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.3.10.0030.13216.61
7.3.00.0070.13016.55
7.2.130.0100.13016.84
7.2.120.0030.13416.94
7.2.110.0100.12716.94
7.2.100.0030.13616.69
7.2.90.0030.13516.77
7.2.80.0100.12716.93
7.2.70.0070.13016.66
7.2.60.0070.14016.85
7.2.50.0030.13316.71
7.2.40.0070.13116.99
7.2.30.0030.12916.55
7.2.20.0030.13416.89
7.2.10.0030.13316.91
7.2.00.0030.13218.09
7.1.250.0030.13415.88
7.1.100.0070.12918.25
7.1.70.0100.18216.94
7.1.60.0070.12619.46
7.1.50.0030.12116.91
7.1.00.0070.23722.45
7.0.200.0000.12716.87
7.0.140.0130.17721.97
7.0.60.0070.15720.00
7.0.50.0070.18317.80
7.0.40.0100.21720.05
7.0.30.0200.20720.06
7.0.20.0270.21720.17
7.0.10.0100.23020.16
7.0.00.0030.16720.07
5.6.210.0030.21720.54
5.6.200.0070.16018.09
5.6.190.0070.23320.62
5.6.180.0170.16720.63
5.6.170.0330.20020.50
5.6.160.0070.21720.46
5.6.150.0000.17018.15
5.6.140.0130.16718.28
5.6.130.0070.22318.18
5.6.120.0030.16721.02
5.6.110.0030.21020.88
5.6.100.0100.18720.95
5.6.90.0100.20021.07
5.6.80.0030.16320.37
5.5.350.4100.16320.42
5.5.340.0130.21317.98
5.5.330.0130.21720.22
5.5.320.0000.18320.27
5.5.310.0270.21320.50
5.5.300.0170.21317.91
5.5.290.0030.16718.01
5.5.280.0070.20020.71
5.5.270.0030.17720.95
5.5.260.0130.18320.87
5.5.250.0030.18320.45
5.5.240.0000.22720.11
5.4.450.0500.05019.47
5.4.440.0700.06319.49
5.4.430.0100.05719.31
5.4.420.0100.07019.15
5.4.410.0100.05319.42
5.4.400.0130.05019.03
5.4.390.0130.05318.59
5.4.380.0130.05718.64
5.4.370.0230.04718.43
5.4.360.0270.04318.70
5.4.350.0200.05318.41
5.4.340.0170.06018.48
5.4.320.0270.04318.52
5.4.310.0200.04718.48
5.4.300.0100.06018.49
5.4.290.0170.05018.64
5.4.280.0130.05318.50
5.4.270.0270.04718.73
5.4.260.0270.04318.58
5.4.250.0200.05018.46
5.4.240.0230.05018.57
5.4.230.0200.05318.36
5.4.220.0130.06318.56
5.4.210.0130.07018.63
5.4.200.0300.04716.39
5.4.190.0170.05318.41
5.4.180.0270.04318.63
5.4.170.0270.05718.65
5.4.160.0170.06318.45
5.4.150.0230.05318.68
5.4.140.0170.05716.14
5.4.130.0230.04016.14
5.4.120.0200.04716.13
5.4.110.0130.05016.17
5.4.100.0130.05316.26
5.4.90.0130.05316.22
5.4.80.0230.04315.99
5.4.70.0230.04716.09
5.4.60.0130.05316.25
5.4.50.0170.05016.09
5.4.40.0230.04316.18
5.4.30.0170.05016.23
5.4.20.0170.06016.06
5.4.10.0230.04715.96
5.4.00.0270.03715.46
5.3.290.0170.05714.64
5.3.280.0230.04714.53
5.3.270.0200.06014.61
5.3.260.0230.04714.54
5.3.250.0230.04714.57
5.3.240.0130.05714.55
5.3.230.0300.04314.66
5.3.220.0270.05314.50
5.3.210.0170.05314.47
5.3.200.0200.05014.54
5.3.190.0130.05714.61
5.3.180.0130.05714.44
5.3.170.0170.05314.58
5.3.160.0170.05714.51
5.3.150.0230.04714.43
5.3.140.0100.06014.47
5.3.130.0130.05714.51
5.3.120.0270.05014.62
5.3.110.0170.05314.50
5.3.100.0200.05013.92
5.3.90.0130.05313.94
5.3.80.0170.05714.02
5.3.70.0200.05713.99
5.3.60.0230.04314.08
5.3.50.0200.05314.00
5.3.40.0170.05013.91
5.3.30.0170.05013.80
5.3.20.0170.05713.74
5.3.10.0230.04713.62
5.3.00.0100.05713.62
5.2.170.0170.04011.11
5.2.160.0070.05011.07
5.2.150.0170.04011.03
5.2.140.0000.05311.25
5.2.130.0130.04011.23
5.2.120.0170.03711.08
5.2.110.0130.04311.00
5.2.100.0200.03310.95
5.2.90.0100.04311.01
5.2.80.0130.04310.99
5.2.70.0100.04711.03
5.2.60.0200.03710.99
5.2.50.0200.04010.97
5.2.40.0130.04010.97
5.2.30.0170.03711.10
5.2.20.0170.03710.96
5.2.10.0100.04310.88
5.2.00.0130.04010.73
5.1.60.0130.03710.02
5.1.50.0200.04010.00
5.1.40.0200.0379.96
5.1.30.0200.04010.45
5.1.20.0070.04710.34
5.1.10.0130.04010.01
5.1.00.0100.05010.11
5.0.50.0200.0208.57
5.0.40.0100.0338.40
5.0.30.0100.0438.26
5.0.20.0070.0338.27
5.0.10.0070.0338.27
5.0.00.0030.0478.33
4.4.90.0100.0205.86
4.4.80.0100.0205.89
4.4.70.0070.0235.88
4.4.60.0100.0205.84
4.4.50.0070.0235.93
4.4.40.0070.0335.87
4.4.30.0070.0235.84
4.4.20.0030.0275.90
4.4.10.0130.0175.93
4.4.00.0100.0335.82
4.3.110.0030.0235.82
4.3.100.0030.0235.79
4.3.90.0030.0235.78
4.3.80.0100.0305.75
4.3.70.0130.0135.78
4.3.60.0030.0235.75
4.3.50.0170.0135.75
4.3.40.0030.0375.73
4.3.30.0030.0234.65
4.3.20.0070.0204.50
4.3.10.0000.0274.47
4.3.00.0100.0208.34

preferences:
45.37 ms | 401 KiB | 5 Q