3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hundred = '1234564567890123456789012345678901234567890123456789012345678901234567890'; 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.0100.12716.61
7.3.00.0130.13816.70
7.2.130.0030.13517.10
7.2.120.0130.13716.96
7.2.110.0160.12016.98
7.2.100.0070.12816.96
7.2.90.0070.12816.95
7.2.80.0070.12716.82
7.2.70.0030.12816.66
7.2.60.0170.13017.07
7.2.50.0100.12616.87
7.2.40.0000.13116.82
7.2.30.0000.13416.89
7.2.20.0070.13216.85
7.2.10.0160.13217.11
7.2.00.0120.12718.24
7.1.250.0000.12915.76
7.1.100.0070.13518.33
7.1.70.0000.13017.16
7.1.60.0100.20519.46
7.1.50.0130.20016.64
7.1.00.0000.24022.43
7.0.200.0000.13116.97
7.0.140.0000.16322.11
7.0.60.0070.17719.95
7.0.50.0030.15717.89
7.0.40.0100.16320.13
7.0.30.0400.16720.07
7.0.20.0300.22320.13
7.0.10.0030.19720.07
7.0.00.0100.23020.24
5.6.210.0100.17020.52
5.6.200.0000.16018.14
5.6.190.0000.16320.41
5.6.180.0270.17320.41
5.6.170.0270.16020.39
5.6.160.0070.22320.48
5.6.150.0030.21718.17
5.6.140.0170.22018.15
5.6.130.0100.23318.20
5.6.120.0130.22021.11
5.6.110.0070.22721.11
5.6.100.0000.23020.96
5.6.90.0030.23021.11
5.6.80.0070.15720.50
5.5.350.3830.14320.47
5.5.340.0070.20717.91
5.5.330.0130.19320.21
5.5.320.0230.16020.23
5.5.310.0430.20020.50
5.5.300.0100.22717.91
5.5.290.0070.16717.96
5.5.280.0100.19320.76
5.5.270.0070.17320.74
5.5.260.0030.16320.78
5.5.250.0130.21320.54
5.5.240.0070.20720.17
5.4.450.0500.06319.45
5.4.440.0430.06319.32
5.4.430.0230.07319.48
5.4.420.0070.06019.49
5.4.410.0070.06019.19
5.4.400.0030.06019.23
5.4.390.0330.05718.52
5.4.380.0270.07018.43
5.4.370.0330.05718.56
5.4.360.0430.06318.61
5.4.350.0270.05718.72
5.4.340.0230.07018.50
5.4.320.0430.06718.65
5.4.310.0430.06318.65
5.4.300.0370.05718.50
5.4.290.0430.05018.50
5.4.280.0330.06318.54
5.4.270.0270.06318.51
5.4.260.0300.06018.61
5.4.250.0370.05018.45
5.4.240.0370.05018.69
5.4.230.0270.05318.69
5.4.220.0500.04318.63
5.4.210.0370.05718.64
5.4.200.0300.06716.38
5.4.190.0430.06318.57
5.4.180.0330.07318.68
5.4.170.0500.05318.57
5.4.160.0470.06018.52
5.4.150.0470.06718.53
5.4.140.0370.07016.04
5.4.130.0470.06016.05
5.4.120.0370.05016.12
5.4.110.0300.05716.21
5.4.100.0270.06316.04
5.4.90.0330.06716.26
5.4.80.0500.04716.24
5.4.70.0200.06716.19
5.4.60.0230.06716.19
5.4.50.0330.06716.15
5.4.40.0400.06316.29
5.4.30.0300.06316.10
5.4.20.0270.07016.19
5.4.10.0270.06316.24
5.4.00.0230.06715.76
5.3.290.0300.07714.66
5.3.280.0270.06314.50
5.3.270.0130.07714.59
5.3.260.0330.06014.54
5.3.250.0330.05714.52
5.3.240.0200.05714.59
5.3.230.0330.04714.52
5.3.220.0230.05314.62
5.3.210.0300.04714.55
5.3.200.0270.05314.47
5.3.190.0230.05314.62
5.3.180.0170.06014.49
5.3.170.0200.07714.47
5.3.160.0170.06314.64
5.3.150.0400.06014.45
5.3.140.0370.05014.47
5.3.130.0270.07314.55
5.3.120.0200.06014.49
5.3.110.0270.05314.50
5.3.100.0370.06014.01
5.3.90.0230.07013.91
5.3.80.0270.06314.09
5.3.70.0230.06714.00
5.3.60.0200.07013.94
5.3.50.0230.05713.92
5.3.40.0330.05313.85
5.3.30.0330.06713.89
5.3.20.0370.06313.60
5.3.10.0500.06313.63
5.3.00.0270.07313.58
5.2.170.0170.06711.15
5.2.160.0370.05311.19
5.2.150.0200.06011.18
5.2.140.0330.05011.27
5.2.130.0300.05311.14
5.2.120.0300.05011.03
5.2.110.0170.05011.16
5.2.100.0200.04011.05
5.2.90.0230.06011.24
5.2.80.0230.04011.23
5.2.70.0300.03711.08
5.2.60.0230.04710.98
5.2.50.0200.05010.93
5.2.40.0170.05311.14
5.2.30.0170.05311.02
5.2.20.0130.04711.08
5.2.10.0130.05011.07
5.2.00.0170.05010.73
5.1.60.0170.04710.13
5.1.50.0230.04310.10
5.1.40.0230.0379.97
5.1.30.0200.05310.35
5.1.20.0300.04310.34
5.1.10.0200.05010.08
5.1.00.0270.04710.09
5.0.50.0270.0308.73
5.0.40.0200.0308.38
5.0.30.0130.0538.32
5.0.20.0070.0408.17
5.0.10.0130.0378.15
5.0.00.0100.0478.28
4.4.90.0130.0235.89
4.4.80.0030.0305.89
4.4.70.0100.0235.87
4.4.60.0030.0305.90
4.4.50.0070.0205.88
4.4.40.0100.0405.87
4.4.30.0100.0205.88
4.4.20.0070.0335.92
4.4.10.0030.0305.97
4.4.00.0030.0405.93
4.3.110.0130.0235.85
4.3.100.0070.0235.83
4.3.90.0030.0275.82
4.3.80.0000.0405.89
4.3.70.0030.0235.82
4.3.60.0030.0235.82
4.3.50.0100.0305.83
4.3.40.0200.0335.79
4.3.30.0030.0274.57
4.3.20.0000.0274.61
4.3.10.0000.0274.51
4.3.00.0100.0208.69

preferences:
32.85 ms | 401 KiB | 5 Q