3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hundred = '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'; $password = 'foo'; $hash = password_hash($hundred . $password, 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.2.60.0030.13316.84
7.2.50.0130.12316.67
7.1.200.0030.12815.46
7.1.70.0030.14316.80
7.1.60.0130.19619.46
7.1.50.0100.20216.96
7.1.00.0000.23722.28
7.0.200.0270.13016.85
7.0.140.0000.14322.18
7.0.60.0100.19020.00
7.0.50.0070.22017.86
7.0.40.0030.18319.90
7.0.30.0270.19720.12
7.0.20.0330.21720.30
7.0.10.0070.22720.25
7.0.00.0130.19320.20
5.6.280.0070.23321.09
5.6.210.0100.21020.50
5.6.200.0070.16018.19
5.6.190.0070.16320.61
5.6.180.0400.16020.61
5.6.170.0130.16720.51
5.6.160.0100.21320.45
5.6.150.0130.21318.29
5.6.140.0100.22018.18
5.6.130.0000.18318.28
5.6.120.0130.20321.11
5.6.110.0030.22720.98
5.6.100.0130.15721.10
5.6.90.0000.16721.00
5.6.80.0030.16020.37
5.5.350.4270.16020.40
5.5.340.0100.22017.96
5.5.330.0030.17720.07
5.5.320.0300.17020.32
5.5.310.0270.17320.28
5.5.300.0100.23018.00
5.5.290.0130.22317.95
5.5.280.0070.16720.96
5.5.270.0100.22720.74
5.5.260.0030.16020.94
5.5.250.0000.21320.66
5.5.240.0000.18720.26
5.4.450.0600.06019.49
5.4.440.0370.05719.50
5.4.430.0300.05019.42
5.4.420.0130.07719.45
5.4.410.0130.07019.24
5.4.400.0030.06019.16
5.4.390.0170.05718.63
5.4.380.0300.06018.70
5.4.370.0170.08018.43
5.4.360.0200.07318.43
5.4.350.0270.05718.43
5.4.340.0200.06718.54
5.4.320.0330.04718.61
5.4.310.0230.05718.49
5.4.300.0200.06018.72
5.4.290.0170.06318.59
5.4.280.0230.05318.62
5.4.270.0330.04318.42
5.4.260.0230.05018.63
5.4.250.0400.04718.51
5.4.240.0370.05318.42
5.4.230.0330.05018.43
5.4.220.0270.05018.63
5.4.210.0100.07718.44
5.4.200.0170.04716.63
5.4.190.0100.06718.68
5.4.180.0330.04718.68
5.4.170.0270.05318.50
5.4.160.0370.05318.57
5.4.150.0230.05718.56
5.4.140.0270.05316.25
5.4.130.0270.04716.22
5.4.120.0200.05316.15
5.4.110.0230.04316.04
5.4.100.0270.05016.24
5.4.90.0230.06716.26
5.4.80.0230.05016.02
5.4.70.0230.05016.01
5.4.60.0270.05716.05
5.4.50.0330.04016.21
5.4.40.0300.04316.19
5.4.30.0270.04716.04
5.4.20.0170.05716.09
5.4.10.0270.04316.28
5.4.00.0170.05315.71
5.3.290.0270.05314.76
5.3.280.0170.06314.57
5.3.270.0170.06014.60
5.3.260.0230.05714.60
5.3.250.0270.04714.57
5.3.240.0170.05714.69
5.3.230.0230.05314.50
5.3.220.0270.04714.45
5.3.210.0230.05714.49
5.3.200.0170.05314.48
5.3.190.0200.05714.63
5.3.180.0300.04314.55
5.3.170.0270.04314.47
5.3.160.0100.06014.66
5.3.150.0200.05714.55
5.3.140.0130.05714.51
5.3.130.0300.04714.63
5.3.120.0170.05714.64
5.3.110.0170.06014.44
5.3.100.0300.04014.11
5.3.90.0300.06014.07
5.3.80.0230.04713.91
5.3.70.0170.05314.00
5.3.60.0300.04313.93
5.3.50.0170.05314.02
5.3.40.0270.04313.92
5.3.30.0330.03713.91
5.3.20.0230.04713.60
5.3.10.0230.04713.65
5.3.00.0200.05313.53
5.2.170.0100.04711.07
5.2.160.0170.04011.28
5.2.150.0130.04311.18
5.2.140.0130.04311.14
5.2.130.0130.04011.06
5.2.120.0170.03711.16
5.2.110.0170.03711.11
5.2.100.0100.04311.11
5.2.90.0200.03711.13
5.2.80.0170.04311.05
5.2.70.0170.04011.14
5.2.60.0100.04711.07
5.2.50.0200.04011.02
5.2.40.0170.04010.95
5.2.30.0200.03710.97
5.2.20.0130.04010.87
5.2.10.0170.04311.02
5.2.00.0200.03310.81
5.1.60.0170.03010.04
5.1.50.0270.0239.98
5.1.40.0200.03010.09
5.1.30.0070.04010.32
5.1.20.0130.03710.34
5.1.10.0130.03710.10
5.1.00.0100.03710.06
5.0.50.0200.0178.58
5.0.40.0070.0338.43
5.0.30.0100.0408.33
5.0.20.0070.0278.23
5.0.10.0100.0308.36
5.0.00.0170.0338.17
4.4.90.0000.0275.86
4.4.80.0070.0205.88
4.4.70.0000.0275.84
4.4.60.0070.0235.86
4.4.50.0170.0175.89
4.4.40.0030.0475.82
4.4.30.0070.0305.91
4.4.20.0070.0305.91
4.4.10.0070.0235.94
4.4.00.0130.0305.97
4.3.110.0100.0235.84
4.3.100.0070.0235.80
4.3.90.0030.0275.79
4.3.80.0070.0335.76
4.3.70.0030.0235.84
4.3.60.0030.0235.81
4.3.50.0100.0235.80
4.3.40.0000.0405.79
4.3.30.0070.0204.64
4.3.20.0070.0204.61
4.3.10.0030.0274.52
4.3.00.0070.0278.69

preferences:
38.8 ms | 400 KiB | 5 Q