3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hundred = '12345645678012345689012345678901234567890123456789012345678901234567890'; echo strlen($hundred)."\n"; $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.3.10.0400.13316.28
7.3.00.0250.12416.59
7.2.130.0130.13916.53
7.2.120.0070.12916.70
7.2.110.0030.13116.42
7.2.100.0100.12616.99
7.2.90.0030.13316.61
7.2.80.0000.13416.62
7.2.70.0030.12616.88
7.2.60.0020.13516.83
7.2.50.0030.14016.68
7.2.40.0030.13016.73
7.2.30.0070.12816.96
7.2.20.0030.12916.85
7.2.10.0070.12816.70
7.2.00.0080.13018.04
7.1.250.0140.12715.70
7.1.200.0070.12716.02
7.1.100.0130.12418.18
7.1.70.0030.12516.94
7.1.60.0130.18419.46
7.1.50.0130.15616.89
7.1.00.0000.24322.40
7.0.200.0030.12416.51
7.0.140.0000.18022.07
7.0.60.0130.20719.93
7.0.50.0070.17017.98
7.0.40.0070.17020.23
7.0.30.0230.17720.17
7.0.20.0100.22020.07
7.0.10.0070.19720.06
7.0.00.0070.22720.11
5.6.210.0030.22020.66
5.6.200.0000.16718.19
5.6.190.0030.21020.64
5.6.180.0270.17720.63
5.6.170.0330.19020.76
5.6.160.0000.22320.40
5.6.150.0000.24018.15
5.6.140.0200.19718.08
5.6.130.0030.22018.07
5.6.120.0070.22021.01
5.6.110.0030.20021.02
5.6.100.0100.17720.98
5.6.90.0030.16020.99
5.6.80.0070.16020.52
5.5.350.3200.13320.37
5.5.340.0100.16717.99
5.5.330.0130.22720.26
5.5.320.0030.17320.41
5.5.310.0300.17720.20
5.5.300.0130.21317.95
5.5.290.0070.16717.95
5.5.280.0100.19020.72
5.5.270.0100.16720.86
5.5.260.0100.16720.78
5.5.250.0000.16720.45
5.5.240.0030.23020.23
5.4.450.0600.06719.52
5.4.440.0600.05019.24
5.4.430.0130.05719.31
5.4.420.0130.05719.27
5.4.410.0100.05319.36
5.4.400.0030.06319.25
5.4.390.0200.06018.52
5.4.380.0300.05718.55
5.4.370.0270.05318.50
5.4.360.0300.04718.77
5.4.350.0300.05718.62
5.4.340.0330.05018.43
5.4.320.0300.06018.70
5.4.310.0230.06018.55
5.4.300.0270.05018.49
5.4.290.0170.06718.68
5.4.280.0230.04718.71
5.4.270.0370.04018.67
5.4.260.0170.06018.45
5.4.250.0200.06018.53
5.4.240.0270.06018.44
5.4.230.0170.06018.54
5.4.220.0230.05318.53
5.4.210.0270.05018.57
5.4.200.0200.05316.61
5.4.190.0300.04318.53
5.4.180.0330.04718.60
5.4.170.0330.04718.48
5.4.160.0230.06018.57
5.4.150.0230.06318.48
5.4.140.0300.07016.27
5.4.130.0270.07316.04
5.4.120.0230.06016.25
5.4.110.0230.05316.25
5.4.100.0300.04716.26
5.4.90.0300.05016.25
5.4.80.0130.05716.12
5.4.70.0230.05716.10
5.4.60.0270.05016.10
5.4.50.0330.06716.34
5.4.40.0230.06316.05
5.4.30.0200.05716.32
5.4.20.0170.06716.03
5.4.10.0130.05716.22
5.4.00.0170.05715.67
5.3.290.0270.05014.68
5.3.280.0100.06714.57
5.3.270.0200.06014.65
5.3.260.0200.05714.60
5.3.250.0370.06014.52
5.3.240.0200.07714.59
5.3.230.0300.06714.58
5.3.220.0270.07014.49
5.3.210.0330.06714.62
5.3.200.0370.06014.62
5.3.190.0200.06714.48
5.3.180.0300.04714.57
5.3.170.0230.05714.54
5.3.160.0300.06714.53
5.3.150.0300.07014.47
5.3.140.0270.04714.46
5.3.130.0270.05714.54
5.3.120.0200.06314.53
5.3.110.0330.05314.58
5.3.100.0100.06314.13
5.3.90.0170.05714.12
5.3.80.0200.05313.89
5.3.70.0200.06313.95
5.3.60.0170.06313.91
5.3.50.0170.05014.02
5.3.40.0130.06013.87
5.3.30.0200.05313.89
5.3.20.0230.04713.70
5.3.10.0230.05013.69
5.3.00.0370.04313.71
5.2.170.0300.03711.06
5.2.160.0130.05311.09
5.2.150.0200.04311.28
5.2.140.0070.05011.10
5.2.130.0200.04311.09
5.2.120.0230.04011.16
5.2.110.0270.04311.15
5.2.100.0270.03311.23
5.2.90.0230.03711.09
5.2.80.0130.05011.02
5.2.70.0270.04311.09
5.2.60.0170.04311.02
5.2.50.0300.03710.94
5.2.40.0200.04311.04
5.2.30.0270.04310.91
5.2.20.0200.04010.94
5.2.10.0130.04311.05
5.2.00.0270.03310.70
5.1.60.0230.03310.09
5.1.50.0230.03010.11
5.1.40.0100.04010.10
5.1.30.0100.04010.37
5.1.20.0200.03310.38
5.1.10.0230.03710.19
5.1.00.0100.04710.10
5.0.50.0100.0308.57
5.0.40.0200.0308.48
5.0.30.0200.0478.25
5.0.20.0130.0338.21
5.0.10.0100.0408.35
5.0.00.0130.0538.18
4.4.90.0200.0235.86
4.4.80.0170.0235.88
4.4.70.0200.0275.91
4.4.60.0070.0305.87
4.4.50.0100.0275.87
4.4.40.0130.0435.90
4.4.30.0030.0335.88
4.4.20.0100.0335.95
4.4.10.0000.0305.92
4.4.00.0170.0375.97
4.3.110.0100.0205.82
4.3.100.0130.0175.82
4.3.90.0100.0205.79
4.3.80.0070.0405.78
4.3.70.0100.0205.79
4.3.60.0130.0275.82
4.3.50.0100.0235.82
4.3.40.0130.0335.76
4.3.30.0000.0274.59
4.3.20.0000.0304.53
4.3.10.0000.0274.48
4.3.00.0100.0208.69

preferences:
37.35 ms | 401 KiB | 5 Q