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.0030.14415.09
7.4.00.0130.13315.05
7.3.130.0000.14514.71
7.3.120.0030.13714.94
7.3.110.0100.13714.74
7.3.100.0030.13914.66
7.3.90.0030.13414.77
7.3.80.0030.13214.71
7.3.70.0030.14014.82
7.3.60.0000.13714.82
7.3.50.0030.13414.76
7.3.40.0030.13214.49
7.3.30.0030.13414.68
7.3.20.0100.13016.66
7.3.10.0070.13116.40
7.3.00.0030.13316.36
7.2.260.0100.12614.76
7.2.250.0000.14715.16
7.2.240.0000.13414.56
7.2.230.0070.13815.03
7.2.220.0100.12914.87
7.2.210.0030.13414.59
7.2.200.0030.13414.97
7.2.190.0100.12714.99
7.2.180.0030.12915.05
7.2.170.0070.12714.76
7.2.160.0030.13014.94
7.2.150.0030.13216.90
7.2.140.0000.13716.66
7.2.130.0070.12516.52
7.2.120.0030.12816.99
7.2.110.0100.12316.95
7.2.100.0070.13816.58
7.2.90.0030.13216.94
7.2.80.0070.12816.62
7.2.70.0100.12916.85
7.2.60.0100.12616.47
7.2.50.0030.12916.76
7.2.40.0030.13416.93
7.2.30.0070.12816.92
7.2.20.0070.13416.65
7.2.10.0030.13816.82
7.2.00.0080.13417.89
7.1.330.0030.13115.64
7.1.320.0070.13315.46
7.1.310.0070.13115.72
7.1.300.0000.13415.89
7.1.290.0070.12515.56
7.1.280.0070.13915.71
7.1.270.0070.13115.75
7.1.260.0030.13215.50
7.1.250.0070.12715.87
7.1.240.0070.12615.67
7.1.230.0070.13215.80
7.1.220.0030.13515.76
7.1.210.0030.12815.79
7.1.200.0030.13215.73
7.1.190.0070.12515.67
7.1.180.0030.13415.74
7.1.170.0000.13315.74
7.1.160.0030.13015.51
7.1.150.0030.13015.86
7.1.140.0030.13415.70
7.1.130.0070.13215.58
7.1.120.0070.13115.46
7.1.110.0030.13015.67
7.1.100.0070.13216.79
7.1.90.0130.12515.73
7.1.80.0030.12815.73
7.1.70.0070.14916.47
7.1.60.0020.13417.60
7.1.50.0000.17616.35
7.1.40.0070.13115.80
7.1.30.0030.12715.43
7.1.20.0030.12815.74
7.1.10.0130.12515.43
7.1.00.0050.18819.16
7.0.330.0030.12815.45
7.0.320.0070.13215.54
7.0.310.0100.13315.43
7.0.300.0030.13215.50
7.0.290.0030.14115.43
7.0.280.0070.12315.20
7.0.270.0030.14215.38
7.0.260.0100.12815.55
7.0.250.0000.13415.37
7.0.240.0030.13915.19
7.0.230.0030.12815.29
7.0.220.0000.13815.37
7.0.210.0030.12615.42
7.0.200.0100.12415.86
7.0.190.0030.13315.44
7.0.180.0070.12715.22
7.0.170.0000.13015.41
7.0.160.0070.13315.43
7.0.150.0070.12615.33
7.0.140.0020.14618.63
7.0.130.0100.13415.16
7.0.120.0070.12615.47
7.0.110.0000.12715.41
7.0.100.0030.12815.35
7.0.90.0030.12615.41
7.0.80.0070.12515.54
7.0.70.0030.12915.15
7.0.60.0070.17617.67
7.0.50.0030.14716.64
7.0.40.0070.15116.77
7.0.30.0150.16516.78
7.0.20.0180.16216.83
7.0.10.0030.14916.88
7.0.00.0070.16716.91
5.6.400.0030.13214.36
5.6.390.0000.13314.08
5.6.380.0000.13814.43
5.6.370.0100.12714.48
5.6.360.0070.13414.37
5.6.350.0000.14514.37
5.6.340.0030.13414.32
5.6.330.0000.13413.98
5.6.320.0130.12414.50
5.6.310.0030.13314.59
5.6.300.0030.13214.27
5.6.290.0030.13114.27
5.6.280.0100.18217.57
5.6.270.0070.12214.18
5.6.260.0070.12514.29
5.6.250.0030.13014.06
5.6.240.0000.13814.25
5.6.230.0000.13514.15
5.6.220.0000.13013.95
5.6.210.0050.17117.38
5.6.200.0050.14816.07
5.6.190.0070.16117.43
5.6.180.0170.16917.39
5.6.170.0220.14717.19
5.6.160.0070.18217.53
5.6.150.0070.18215.96
5.6.140.0070.16816.31
5.6.130.0080.16916.07
5.6.120.0020.17517.67
5.6.110.0130.17217.74
5.6.100.0070.14117.63
5.6.90.0070.17017.63
5.6.80.0030.14617.13
5.6.70.0030.13613.86
5.6.60.0100.12814.25
5.6.50.0030.13013.95
5.6.40.0030.12814.30
5.6.30.0000.12613.98
5.6.20.0030.13514.19
5.6.10.0100.12214.19
5.6.00.0030.13114.15
5.5.380.0070.13114.18
5.5.370.0000.13413.71
5.5.360.0030.13013.88
5.5.350.1970.13417.31
5.5.340.0020.15015.98
5.5.330.0030.15417.18
5.5.320.0050.17717.13
5.5.310.0180.16217.12
5.5.300.0070.17416.10
5.5.290.0030.17915.97
5.5.280.0070.14017.29
5.5.270.0030.16917.21
5.5.260.0020.17917.46
5.5.250.0050.17517.00
5.5.240.0080.14316.96
5.5.230.0070.12913.74
5.5.220.0100.12413.92
5.5.210.0000.13114.16
5.5.200.0070.12214.25
5.5.190.0030.13113.82
5.5.180.0030.12213.93
5.5.170.0070.12614.18
5.5.160.0030.13014.14
5.5.150.0000.12714.05
5.5.140.0030.12713.84
5.5.130.0000.13714.18
5.5.120.0030.13013.96
5.5.110.0030.13114.24
5.5.100.0070.12913.78
5.5.90.0100.12314.22
5.5.80.0070.12813.82
5.5.70.0070.12714.19
5.5.60.0000.13813.80
5.5.50.0030.13113.94
5.5.40.0030.12714.26
5.5.30.0000.13614.05
5.5.20.0000.13214.12
5.5.10.0070.12114.14
5.5.00.0100.12313.61
5.4.450.0220.03315.14
5.4.440.0450.02515.11
5.4.430.0030.03315.19
5.4.420.0050.03114.92
5.4.410.0050.03215.02
5.4.400.0080.02814.93
5.4.390.0140.02714.67
5.4.380.0130.03114.72
5.4.370.0130.02714.73
5.4.360.0150.02314.61
5.4.350.0100.03014.68
5.4.340.0180.02114.56
5.4.330.0060.00610.76
5.4.320.0150.02814.63
5.4.310.0100.02914.64
5.4.300.0100.03014.55
5.4.290.0120.02914.60
5.4.280.0190.02414.51
5.4.270.0070.02914.59
5.4.260.0130.02314.62
5.4.250.0150.02914.77
5.4.240.0070.03314.55
5.4.230.0130.02614.80
5.4.220.0150.03014.61
5.4.210.0170.02714.64
5.4.200.0080.03213.66
5.4.190.0100.02714.73
5.4.180.0050.03114.68
5.4.170.0130.02714.79
5.4.160.0120.02614.75
5.4.150.0160.02514.66
5.4.140.0100.03413.40
5.4.130.0120.02513.43
5.4.120.0100.02813.26
5.4.110.0120.02313.56
5.4.100.0110.02513.47
5.4.90.0070.03013.33
5.4.80.0070.03113.40
5.4.70.0120.02613.45
5.4.60.0080.02913.47
5.4.50.0100.02513.36
5.4.40.0120.02813.48
5.4.30.0110.02513.57
5.4.20.0070.03313.31
5.4.10.0150.02013.31
5.4.00.0110.02713.19
5.3.290.0130.06314.62
5.3.280.0230.04714.48
5.3.270.0130.05714.50
5.3.260.0170.06014.54
5.3.250.0200.04714.64
5.3.240.0170.05014.63
5.3.230.0130.05314.50
5.3.220.0170.05314.56
5.3.210.0230.04714.46
5.3.200.0200.04714.57
5.3.190.0200.05314.43
5.3.180.0130.05314.46
5.3.170.0170.05014.45
5.3.160.0130.05314.52
5.3.150.0270.04014.62
5.3.140.0230.05314.62
5.3.130.0270.04314.59
5.3.120.0170.05314.50
5.3.110.0300.04314.47
5.3.100.0130.05714.04
5.3.90.0130.06013.97
5.3.80.0130.05314.08
5.3.70.0230.04714.06
5.3.60.0230.04314.05
5.3.50.0230.04313.85
5.3.40.0130.05713.92
5.3.30.0200.04713.87
5.3.20.0130.05313.75
5.3.10.0200.04313.58
5.3.00.0130.05313.61
5.2.170.0070.05311.25
5.2.160.0130.05011.10
5.2.150.0170.04011.09
5.2.140.0170.05311.10
5.2.130.0070.04711.22
5.2.120.0100.04711.13
5.2.110.0200.04011.06
5.2.100.0070.05011.05
5.2.90.0200.04011.04
5.2.80.0200.04711.23
5.2.70.0130.04311.04
5.2.60.0200.03711.08
5.2.50.0170.04010.95
5.2.40.0130.04311.12
5.2.30.0070.04710.92
5.2.20.0170.03710.95
5.2.10.0100.04010.85
5.2.00.0100.04010.75
5.1.60.0100.03310.12
5.1.50.0130.03310.04
5.1.40.0100.03710.05
5.1.30.0170.03710.40
5.1.20.0200.02710.32
5.1.10.0070.04010.12
5.1.00.0130.03710.06
5.0.50.0070.0278.58
5.0.40.0030.0308.41
5.0.30.0130.0378.27
5.0.20.0030.0308.27
5.0.10.0100.0238.34
5.0.00.0070.0438.25
4.4.90.0030.0236.84
4.4.80.0070.0206.84
4.4.70.0030.0236.84
4.4.60.0070.0206.84
4.4.50.0030.0236.84
4.4.40.0030.0376.84
4.4.30.0070.0206.84
4.4.20.0030.0236.84
4.4.10.0070.0206.84
4.4.00.0070.0336.84
4.3.110.0030.0276.84
4.3.100.0070.0206.84
4.3.90.0030.0336.84
4.3.80.0070.0376.84
4.3.70.0030.0236.84
4.3.60.0100.0176.84
4.3.50.0000.0276.84
4.3.40.0070.0336.84
4.3.30.0070.0206.84
4.3.20.0000.0236.84
4.3.10.0070.0206.84
4.3.00.0070.0238.46

preferences:
44.38 ms | 403 KiB | 5 Q