3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hundred = '12345678901234567890123456789012345678901234567890123456789012345678901234567890'; $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.4.10.0000.14516.51
7.4.00.0080.13915.49
7.3.130.0100.13916.19
7.3.120.0080.13715.47
7.3.110.0080.13115.53
7.3.100.0070.12915.30
7.3.90.0050.12715.54
7.3.80.0020.13415.50
7.3.70.0100.12615.49
7.3.60.0030.13015.55
7.3.50.0050.13715.36
7.3.40.0070.13115.40
7.3.30.0050.12815.40
7.3.20.0070.12617.18
7.3.10.0080.12517.25
7.3.00.0070.12617.27
7.2.260.0070.14216.54
7.2.250.0030.14415.59
7.2.240.0050.12915.60
7.2.230.0030.13615.75
7.2.220.0080.13415.65
7.2.210.0070.13115.48
7.2.200.0020.13915.57
7.2.190.0080.13015.67
7.2.180.0070.12515.69
7.2.170.0080.12915.59
7.2.160.0030.13216.31
7.2.150.0000.13618.26
7.2.140.0070.12818.25
7.2.130.0070.12918.33
7.2.120.0030.13118.33
7.2.110.0000.13018.38
7.2.100.0000.13418.24
7.2.90.0030.13318.15
7.2.80.0070.13318.27
7.2.70.0030.12918.25
7.2.60.0050.13217.51
7.2.50.0030.13117.60
7.2.40.0070.13118.39
7.2.30.0070.12418.31
7.2.20.0000.13118.24
7.2.10.0070.13018.36
7.2.00.0080.12718.75
7.1.330.0070.13216.65
7.1.320.0070.12916.43
7.1.310.0050.13316.67
7.1.300.0030.13316.52
7.1.290.0050.12916.44
7.1.280.0030.12816.50
7.1.270.0030.13016.48
7.1.260.0030.12816.34
7.1.250.0030.13817.28
7.1.240.0070.12717.15
7.1.230.0000.14317.30
7.1.220.0030.13117.35
7.1.210.0070.12717.27
7.1.200.0030.13316.55
7.1.190.0070.12617.21
7.1.180.0070.12617.27
7.1.170.0070.12817.35
7.1.160.0070.12617.27
7.1.150.0100.12617.16
7.1.140.0030.13017.45
7.1.130.0030.13517.22
7.1.120.0070.12217.20
7.1.110.0070.13317.32
7.1.100.0050.13317.55
7.1.90.0030.13417.32
7.1.80.0030.12917.24
7.1.70.0050.15917.23
7.1.60.0030.13218.33
7.1.50.0080.15617.08
7.1.40.0030.13117.41
7.1.30.0070.12517.38
7.1.20.0070.12617.20
7.1.10.0030.13617.27
7.1.00.0030.18319.85
7.0.330.0100.12117.00
7.0.320.0030.13017.00
7.0.310.0000.12517.23
7.0.300.0000.13617.04
7.0.290.0030.12916.95
7.0.280.0030.13017.29
7.0.270.0030.13416.91
7.0.260.0000.13516.98
7.0.250.0070.13017.16
7.0.240.0070.12417.14
7.0.230.0030.13116.82
7.0.220.0030.12516.96
7.0.210.0000.13216.95
7.0.200.0030.12716.81
7.0.190.0100.13016.93
7.0.180.0030.12917.11
7.0.170.0030.12816.94
7.0.160.0070.12217.11
7.0.150.0030.12817.18
7.0.140.0030.13919.53
7.0.130.0070.13117.18
7.0.120.0030.12617.13
7.0.110.0000.13917.10
7.0.100.0000.13216.93
7.0.90.0000.13417.11
7.0.80.0030.13616.90
7.0.70.0030.13816.77
7.0.60.0100.16818.48
7.0.50.0030.14317.45
7.0.40.0050.16017.58
7.0.30.0130.15517.52
7.0.20.0220.16217.60
7.0.10.0070.15717.53
7.0.00.0020.15717.66
5.6.400.0030.13815.84
5.6.390.0070.12815.50
5.6.380.0000.13015.54
5.6.370.0030.12715.92
5.6.360.0030.12715.61
5.6.350.0030.13016.07
5.6.340.0000.13715.98
5.6.330.0000.13915.68
5.6.320.0100.11915.56
5.6.310.0000.12815.65
5.6.300.0030.12715.82
5.6.290.0100.11615.79
5.6.280.0070.18118.49
5.6.270.0070.13015.64
5.6.260.0070.13115.99
5.6.250.0030.13315.80
5.6.240.0130.11915.89
5.6.230.0030.13716.19
5.6.220.0070.13015.95
5.6.210.0050.18318.35
5.6.200.0070.14117.00
5.6.190.0070.14518.15
5.6.180.0250.17118.04
5.6.170.0070.14618.03
5.6.160.0070.16918.26
5.6.150.0070.17016.96
5.6.140.0030.15716.88
5.6.130.0050.16216.88
5.6.120.0050.15918.54
5.6.110.0100.16618.43
5.6.100.0070.15718.36
5.6.90.0050.14918.28
5.6.80.0000.14717.98
5.6.70.0030.12715.61
5.6.60.0100.13015.80
5.6.50.0000.12815.67
5.6.40.0030.12815.73
5.6.30.0100.12915.84
5.6.20.0100.12315.70
5.6.10.0070.13115.71
5.6.00.0070.13015.80
5.5.380.0100.12115.67
5.5.370.0030.13115.79
5.5.360.0030.12515.70
5.5.350.1970.14518.05
5.5.340.0020.18216.87
5.5.330.0080.15717.96
5.5.320.0050.14118.09
5.5.310.0280.16117.98
5.5.300.0050.15116.93
5.5.290.0020.15316.89
5.5.280.0020.15218.36
5.5.270.0100.17618.33
5.5.260.0100.14218.27
5.5.250.0150.16218.19
5.5.240.0030.17717.92
5.5.230.0000.13915.74
5.5.220.0070.13215.66
5.5.210.0070.12715.68
5.5.200.0030.13115.58
5.5.190.0130.12115.53
5.5.180.0000.13815.64
5.5.170.0100.12415.68
5.5.160.0030.13915.49
5.5.150.0000.13115.82
5.5.140.0070.13715.70
5.5.130.0070.12915.66
5.5.120.0070.13515.92
5.5.110.0130.12415.75
5.5.100.0070.13115.83
5.5.90.0100.12515.68
5.5.80.0030.12615.71
5.5.70.0070.13015.77
5.5.60.0000.13915.79
5.5.50.0100.12415.68
5.5.40.0030.13215.58
5.5.30.0000.12815.67
5.5.20.0000.13615.74
5.5.10.0100.12515.40
5.5.00.0070.13115.47
5.4.450.0270.03216.09
5.4.440.0050.03916.16
5.4.430.0100.03316.02
5.4.420.0130.03416.09
5.4.410.0100.03516.05
5.4.400.0100.02615.91
5.4.390.0170.02815.66
5.4.380.0140.03015.68
5.4.370.0120.03215.66
5.4.360.0170.02715.62
5.4.350.0150.03115.61
5.4.340.0190.02515.68
5.4.330.0040.00412.70
5.4.320.0150.03315.65
5.4.310.0120.03015.60
5.4.300.0200.02415.69
5.4.290.0200.03015.66
5.4.280.0130.03315.62
5.4.270.0170.02615.69
5.4.260.0140.03715.62
5.4.250.0170.02715.67
5.4.240.0080.03515.69
5.4.230.0120.03215.64
5.4.220.0190.03215.65
5.4.210.0190.02715.55
5.4.200.0100.03614.54
5.4.190.0110.03315.59
5.4.180.0170.02815.63
5.4.170.0120.03015.67
5.4.160.0190.02515.61
5.4.150.0120.03315.58
5.4.140.0090.03714.53
5.4.130.0140.02914.48
5.4.120.0120.02814.42
5.4.110.0130.03014.42
5.4.100.0130.02814.52
5.4.90.0100.03014.44
5.4.80.0110.03014.36
5.4.70.0150.03214.41
5.4.60.0160.02314.42
5.4.50.0120.02814.36
5.4.40.0130.02814.39
5.4.30.0080.03314.44
5.4.20.0110.03014.50
5.4.10.0080.03514.46
5.4.00.0150.02314.09
5.3.290.0370.05014.58
5.3.280.0330.05314.60
5.3.270.0230.05714.66
5.3.260.0170.06314.60
5.3.250.0230.07014.58
5.3.240.0230.05014.60
5.3.230.0230.04714.56
5.3.220.0300.04714.47
5.3.210.0130.06314.49
5.3.200.0200.05314.65
5.3.190.0200.05714.57
5.3.180.0200.05714.55
5.3.170.0200.05314.54
5.3.160.0270.05314.59
5.3.150.0300.04314.54
5.3.140.0130.05714.55
5.3.130.0270.04714.59
5.3.120.0130.06014.52
5.3.110.0200.06014.47
5.3.100.0170.06313.94
5.3.90.0270.04714.09
5.3.80.0270.05014.05
5.3.70.0370.04714.10
5.3.60.0330.04013.95
5.3.50.0230.05313.90
5.3.40.0270.05313.88
5.3.30.0170.05313.89
5.3.20.0170.05313.58
5.3.10.0300.05313.75
5.3.00.0270.04713.55
5.2.170.0200.05711.18
5.2.160.0170.05011.20
5.2.150.0130.05311.31
5.2.140.0130.04711.08
5.2.130.0230.04311.05
5.2.120.0230.04311.04
5.2.110.0200.04011.25
5.2.100.0230.04011.08
5.2.90.0130.04711.07
5.2.80.0200.05011.05
5.2.70.0070.05311.13
5.2.60.0230.03711.04
5.2.50.0300.05011.05
5.2.40.0230.04711.02
5.2.30.0200.05011.02
5.2.20.0200.03310.87
5.2.10.0200.03310.81
5.2.00.0170.04710.77
5.1.60.0200.02710.02
5.1.50.0130.0479.96
5.1.40.0200.04010.04
5.1.30.0230.04310.37
5.1.20.0200.03310.37
5.1.10.0200.04710.13
5.1.00.0170.05310.04
5.0.50.0100.0408.57
5.0.40.0100.0378.38
5.0.30.0100.0578.23
5.0.20.0070.0408.39
5.0.10.0100.0238.18
5.0.00.0130.0408.19
4.4.90.0130.0235.92
4.4.80.0030.0275.87
4.4.70.0100.0235.89
4.4.60.0070.0235.89
4.4.50.0130.0135.82
4.4.40.0030.0375.81
4.4.30.0100.0205.91
4.4.20.0030.0275.95
4.4.10.0070.0235.96
4.4.00.0100.0335.92
4.3.110.0130.0205.81
4.3.100.0070.0235.75
4.3.90.0070.0235.82
4.3.80.0000.0405.80
4.3.70.0030.0235.79
4.3.60.0070.0275.80
4.3.50.0130.0235.78
4.3.40.0030.0405.80
4.3.30.0000.0274.54
4.3.20.0100.0174.53
4.3.10.0030.0234.58
4.3.00.0000.0278.69

preferences:
40.22 ms | 401 KiB | 5 Q