3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hundred = '1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'; $password = 'foo'; $hash = password_hash($password.$hundred, PASSWORD_BCRYPT); $result = password_verify('BAR'.$hundred, $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.4.10.0070.13514.85
7.4.00.0120.13014.85
7.3.130.0130.13414.97
7.3.120.0060.13914.64
7.3.110.0070.13514.69
7.3.100.0020.13714.68
7.3.90.0070.13314.77
7.3.80.0060.12914.87
7.3.70.0030.13414.71
7.3.60.0030.13514.60
7.3.50.0050.13014.65
7.3.40.0010.13614.64
7.3.30.0040.13314.68
7.3.20.0050.13316.50
7.3.10.0070.12816.51
7.3.00.0030.13416.50
7.2.260.0130.13215.06
7.2.250.0040.13914.91
7.2.240.0070.13514.92
7.2.230.0070.13514.98
7.2.220.0030.13314.81
7.2.210.0050.13014.75
7.2.200.0060.13215.00
7.2.190.0040.13214.96
7.2.180.0050.13214.98
7.2.170.0050.13114.99
7.2.160.0020.13514.89
7.2.150.0030.13416.84
7.2.140.0050.13316.64
7.2.130.0070.12816.54
7.2.120.0100.12716.81
7.2.110.0050.12716.91
7.2.100.0030.13216.72
7.2.90.0020.13416.81
7.2.80.0080.13116.83
7.2.70.0070.12816.96
7.2.60.0080.12516.68
7.2.50.0050.13216.80
7.2.40.0050.12916.80
7.2.30.0070.12516.92
7.2.20.0000.13716.92
7.2.10.0020.13116.67
7.2.00.0060.12817.43
7.1.330.0040.13215.59
7.1.320.0030.12915.84
7.1.310.0060.13115.77
7.1.300.0040.13315.73
7.1.290.0030.13115.65
7.1.280.0060.13015.76
7.1.270.0030.13615.79
7.1.260.0050.12715.72
7.1.250.0030.13015.69
7.1.240.0070.12515.55
7.1.230.0030.12515.62
7.1.220.0070.12715.46
7.1.210.0070.12415.67
7.1.200.0080.12815.79
7.1.190.0070.13415.88
7.1.180.0030.12515.57
7.1.170.0030.13415.79
7.1.160.0000.13115.79
7.1.150.0030.12515.65
7.1.140.0000.13215.66
7.1.130.0030.12515.63
7.1.120.0100.12515.70
7.1.110.0030.12715.55
7.1.100.0030.13716.88
7.1.90.0070.12415.69
7.1.80.0030.13915.62
7.1.70.0070.12916.43
7.1.60.0070.15417.50
7.1.50.0070.16516.38
7.1.40.0030.13015.70
7.1.30.0000.13215.73
7.1.20.0030.13915.86
7.1.10.0070.12215.75
7.1.00.0030.18318.94
7.0.330.0070.12615.35
7.0.320.0070.12715.18
7.0.310.0070.13015.37
7.0.300.0070.12615.48
7.0.290.0030.12815.44
7.0.280.0100.12415.20
7.0.270.0030.12615.44
7.0.260.0000.14015.36
7.0.250.0030.13315.12
7.0.240.0000.13415.24
7.0.230.0070.13015.44
7.0.220.0000.13015.38
7.0.210.0030.13715.30
7.0.200.0050.12616.02
7.0.190.0030.13315.20
7.0.180.0030.12315.60
7.0.170.0070.12515.39
7.0.160.0070.13015.49
7.0.150.0030.13315.61
7.0.140.0030.14418.76
7.0.130.0030.13215.47
7.0.120.0000.13115.38
7.0.110.0000.13615.43
7.0.100.0070.12515.43
7.0.90.0000.13415.38
7.0.80.0070.12515.53
7.0.70.0070.13415.37
7.0.60.0050.15317.67
7.0.50.0080.14216.72
7.0.40.0070.15316.79
7.0.30.0100.14916.90
7.0.20.0180.16016.94
7.0.10.0070.13916.72
7.0.00.0070.17016.67
5.6.400.0070.13214.30
5.6.390.0070.13214.26
5.6.380.0030.13414.25
5.6.370.0030.12514.52
5.6.360.0000.13713.91
5.6.350.0030.13114.30
5.6.340.0000.13614.40
5.6.330.0070.12514.55
5.6.320.0030.13214.20
5.6.310.0030.13214.52
5.6.300.0030.12914.29
5.6.290.0100.12514.66
5.6.280.0050.18517.74
5.6.270.0100.12114.34
5.6.260.0070.12514.14
5.6.250.0030.12814.15
5.6.240.0030.13514.07
5.6.230.0070.12814.30
5.6.220.0000.14014.21
5.6.210.0130.18217.39
5.6.200.0030.15216.21
5.6.190.0080.14117.39
5.6.180.0180.17517.33
5.6.170.0150.14617.60
5.6.160.0080.17617.47
5.6.150.0050.15416.24
5.6.140.0080.16616.17
5.6.130.0050.18416.19
5.6.120.0030.17817.62
5.6.110.0030.17817.55
5.6.100.0030.16917.54
5.6.90.0120.15317.52
5.6.80.0080.17417.54
5.6.70.0070.12914.34
5.6.60.0070.12414.30
5.6.50.0000.13014.14
5.6.40.0070.13614.36
5.6.30.0070.12714.23
5.6.20.0030.13414.19
5.6.10.0030.12814.33
5.6.00.0000.13614.10
5.5.380.0000.13014.18
5.5.370.0000.13413.95
5.5.360.0000.13214.07
5.5.350.1570.13017.32
5.5.340.0070.18016.04
5.5.330.0070.17817.13
5.5.320.0030.17217.10
5.5.310.0130.17117.33
5.5.300.0070.17616.04
5.5.290.0030.18016.08
5.5.280.0020.17517.55
5.5.270.0080.15317.48
5.5.260.0050.17417.52
5.5.250.0050.16017.42
5.5.240.0030.15917.20
5.5.230.0070.12813.89
5.5.220.0070.12514.26
5.5.210.0030.12614.02
5.5.200.0030.12813.75
5.5.190.0070.13014.25
5.5.180.0070.13614.32
5.5.170.0000.13114.25
5.5.160.0070.12913.93
5.5.150.0030.12913.98
5.5.140.0030.12814.30
5.5.130.0030.12713.96
5.5.120.0070.12414.01
5.5.110.0070.12414.30
5.5.100.0000.13214.11
5.5.90.0030.13114.14
5.5.80.0000.13314.23
5.5.70.0070.13113.84
5.5.60.0000.13513.93
5.5.50.0030.12614.41
5.5.40.0000.13114.14
5.5.30.0030.13014.19
5.5.20.0030.12913.94
5.5.10.0070.12314.15
5.5.00.0030.13214.34
5.4.450.0330.02815.59
5.4.440.0410.02815.59
5.4.430.0030.03215.61
5.4.420.0030.03415.43
5.4.410.0080.02715.64
5.4.400.0120.02315.35
5.4.390.0100.03015.18
5.4.380.0150.02515.09
5.4.370.0130.02715.18
5.4.360.0130.02515.15
5.4.350.0140.03715.21
5.4.340.0180.03315.19
5.4.330.0040.00811.71
5.4.320.0150.02515.10
5.4.310.0100.02815.13
5.4.300.0160.02215.14
5.4.290.0100.02815.08
5.4.280.0070.03315.18
5.4.270.0130.03115.14
5.4.260.0070.03315.22
5.4.250.0080.03115.09
5.4.240.0140.02515.08
5.4.230.0070.03415.09
5.4.220.0080.03315.06
5.4.210.0120.03515.19
5.4.200.0100.02814.06
5.4.190.0120.02615.20
5.4.180.0170.02415.09
5.4.170.0110.03115.21
5.4.160.0080.03215.20
5.4.150.0110.02715.09
5.4.140.0050.03213.91
5.4.130.0100.02713.93
5.4.120.0080.02813.88
5.4.110.0180.02013.94
5.4.100.0100.02513.93
5.4.90.0070.02913.96
5.4.80.0100.02513.98
5.4.70.0100.02813.90
5.4.60.0120.02713.84
5.4.50.0090.02614.00
5.4.40.0120.02813.95
5.4.30.0100.02613.93
5.4.20.0100.02813.99
5.4.10.0110.02613.93
5.4.00.0050.03013.69
5.3.290.0130.05714.66
5.3.280.0100.05714.46
5.3.270.0070.07314.58
5.3.260.0170.05314.69
5.3.250.0270.04014.52
5.3.240.0100.06014.54
5.3.230.0300.05014.48
5.3.220.0170.05014.54
5.3.210.0100.06314.45
5.3.200.0100.06314.63
5.3.190.0200.04714.54
5.3.180.0100.05714.57
5.3.170.0170.05314.48
5.3.160.0270.04714.51
5.3.150.0100.05714.43
5.3.140.0130.05714.63
5.3.130.0130.06014.50
5.3.120.0200.05714.62
5.3.110.0170.05314.47
5.3.100.0300.03714.11
5.3.90.0130.05713.94
5.3.80.0170.05013.88
5.3.70.0170.05013.94
5.3.60.0130.05713.98
5.3.50.0100.05713.91
5.3.40.0300.03713.84
5.3.30.0130.05014.00
5.3.20.0230.04013.74
5.3.10.0130.05313.62
5.3.00.0130.05313.71
5.2.170.0270.04011.25
5.2.160.0170.04011.08
5.2.150.0100.04711.16
5.2.140.0130.04311.15
5.2.130.0070.04711.11
5.2.120.0130.05011.11
5.2.110.0130.04011.11
5.2.100.0130.05311.12
5.2.90.0200.04710.99
5.2.80.0230.05011.09
5.2.70.0100.05011.04
5.2.60.0070.04711.07
5.2.50.0170.04711.02
5.2.40.0070.04311.00
5.2.30.0100.04310.92
5.2.20.0100.04010.97
5.2.10.0170.03710.79
5.2.00.0100.04310.84
5.1.60.0100.0339.95
5.1.50.0100.0339.93
5.1.40.0100.0379.93
5.1.30.0130.03310.40
5.1.20.0130.03310.42
5.1.10.0070.04010.11
5.1.00.0070.04010.08
5.0.50.0070.0308.57
5.0.40.0070.0278.40
5.0.30.0030.0478.23
5.0.20.0130.0208.21
5.0.10.0100.0278.17
5.0.00.0130.0378.33
4.4.90.0030.0235.87
4.4.80.0030.0235.94
4.4.70.0030.0275.81
4.4.60.0030.0235.87
4.4.50.0000.0275.93
4.4.40.0070.0335.92
4.4.30.0030.0235.87
4.4.20.0070.0205.91
4.4.10.0100.0205.89
4.4.00.0100.0435.89
4.3.110.0070.0205.82
4.3.100.0130.0135.76
4.3.90.0070.0205.87
4.3.80.0070.0335.82
4.3.70.0030.0235.75
4.3.60.0170.0105.89
4.3.50.0130.0175.78
4.3.40.0030.0375.74
4.3.30.0000.0304.66
4.3.20.0100.0334.49
4.3.10.0030.0234.46
4.3.00.0070.0238.30

preferences:
32.18 ms | 401 KiB | 5 Q