3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = "Madara is Awesome!"; $hash = password_hash($password, PASSWORD_BCRYPT, ["salt" => "MadaraIsBawsNeeds22chefedededr"]); //Note with salt. var_dump($hash); $verified = password_verify($password, $hash); var_dump($verified);

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.14514.76
7.4.00.0030.14014.98
7.3.130.0070.13314.74
7.3.120.0030.13014.76
7.3.110.0070.13314.76
7.3.100.0070.13414.68
7.3.90.0070.13214.59
7.3.80.0070.13214.51
7.3.70.0000.13914.70
7.3.60.0070.13514.73
7.3.50.0030.13614.72
7.3.40.0030.12714.48
7.3.30.0030.13314.68
7.3.20.0000.13116.61
7.3.10.0040.13116.56
7.3.00.0040.13516.39
7.2.260.0060.14215.14
7.2.250.0070.14014.65
7.2.240.0030.13214.40
7.2.230.0000.14414.95
7.2.220.0100.13215.15
7.2.210.0030.13614.87
7.2.200.0000.13514.75
7.2.190.0030.13115.04
7.2.180.0030.13314.87
7.2.170.0070.12915.05
7.2.160.0000.13915.06
7.2.150.0070.13516.59
7.2.140.0030.12916.68
7.2.130.0060.13216.65
7.2.120.0040.13316.66
7.2.110.0070.12916.69
7.2.100.0090.12916.63
7.2.90.0040.13316.72
7.2.80.0070.13116.76
7.2.70.0070.13216.54
7.2.60.0100.12916.71
7.2.50.0020.13316.87
7.2.40.0050.13016.66
7.2.30.0040.13516.77
7.2.20.0040.13216.68
7.2.10.0090.13016.67
7.2.00.0090.13016.66
7.1.330.0100.12915.79
7.1.320.0100.13215.54
7.1.310.0000.13015.80
7.1.300.0100.12915.35
7.1.290.0030.13315.80
7.1.280.0100.12515.76
7.1.270.0100.12215.59
7.1.260.0000.13415.33
7.1.250.0080.12615.70
7.1.240.0030.13215.86
7.1.230.0030.13115.86
7.1.220.0100.12515.79
7.1.210.0070.12915.76
7.1.200.0030.13415.66
7.1.190.0030.13315.62
7.1.180.0070.12315.66
7.1.170.0030.13715.65
7.1.160.0030.13215.55
7.1.150.0030.13215.86
7.1.140.0000.13315.76
7.1.130.0070.12215.88
7.1.120.0000.13115.66
7.1.110.0030.13615.72
7.1.100.0030.13016.94
7.1.90.0130.12315.68
7.1.80.0000.12815.76
7.1.70.0050.16816.31
7.1.60.0070.17017.47
7.1.50.0070.14916.35
7.1.40.0070.12015.75
7.1.30.0100.12215.55
7.1.20.0000.13615.63
7.1.10.0070.13615.63
7.1.00.0030.13719.10
7.0.330.0030.13215.21
7.0.320.0070.12815.33
7.0.310.0070.12815.39
7.0.300.0070.12515.30
7.0.290.0070.12615.42
7.0.280.0070.12814.97
7.0.270.0070.12215.58
7.0.260.0000.13115.38
7.0.250.0070.12315.16
7.0.240.0100.12315.25
7.0.230.0030.12315.48
7.0.220.0000.13015.42
7.0.210.0070.13515.41
7.0.200.0020.12715.88
7.0.190.0070.12815.30
7.0.180.0000.14415.42
7.0.170.0000.13115.27
7.0.160.0070.13315.19
7.0.150.0070.12215.26
7.0.140.0130.17018.80
7.0.130.0030.13215.27
7.0.120.0030.12915.23
7.0.110.0070.12915.02
7.0.100.0170.17917.68
7.0.90.0180.16317.62
7.0.80.0050.13717.60
7.0.70.0020.13817.65
7.0.60.0130.13917.66
7.0.50.0020.13717.89
7.0.40.0000.15016.63
7.0.30.0050.13716.84
7.0.20.0050.14216.67
7.0.10.0070.13116.74
7.0.00.0030.14816.76
5.6.400.0030.12714.45
5.6.390.0030.12513.97
5.6.380.0000.13113.97
5.6.370.0070.12714.14
5.6.360.0100.12714.14
5.6.350.0030.13214.01
5.6.340.0070.12513.99
5.6.330.0000.13814.54
5.6.320.0030.13014.21
5.6.310.0030.13813.98
5.6.300.0000.13614.44
5.6.290.0030.13814.31
5.6.280.0080.17817.50
5.6.270.0100.12614.14
5.6.260.0030.12614.57
5.6.250.0070.17017.39
5.6.240.0050.15117.28
5.6.230.0100.16017.31
5.6.220.0070.14317.46
5.6.210.0070.14717.24
5.6.200.0000.13817.63
5.6.190.0070.12917.57
5.6.180.0000.15117.66
5.6.170.0030.13517.59
5.6.160.0000.14117.57
5.6.150.0070.15217.61
5.6.140.0050.13117.53
5.6.130.0030.15617.54
5.6.120.0030.13917.73
5.6.110.0030.17217.60
5.6.100.0070.16417.69
5.6.90.0080.17117.50
5.6.80.0070.15517.28
5.6.70.0070.17617.20
5.6.60.0050.16917.19
5.6.50.0020.17717.04
5.6.40.0030.18317.11
5.6.30.0050.17617.12
5.6.20.0070.17917.27
5.6.10.0050.17017.10
5.6.00.0050.18517.25
5.5.380.0080.17717.11
5.5.370.0030.17217.34
5.5.360.0070.14117.34
5.5.350.0070.14817.23
5.5.340.0050.15317.35
5.5.330.0070.13017.51
5.5.320.0050.14817.37
5.5.310.0020.15317.48
5.5.300.0050.14417.31
5.5.290.0070.17517.52
5.5.280.0070.17717.25
5.5.270.0030.17717.35
5.5.260.0100.17017.51
5.5.250.0080.17017.24
5.5.240.0080.18117.11
5.5.230.0030.15517.04
5.5.220.0100.18617.20
5.5.210.0030.18017.04
5.5.200.0100.16517.03
5.5.190.0070.17517.02
5.5.180.0080.17517.08
5.5.170.0100.12413.65
5.5.160.0080.14817.18
5.5.150.0070.16817.14
5.5.140.0070.17017.09
5.5.130.0080.14816.99
5.5.120.0070.15617.23
5.5.110.0030.17416.96
5.5.100.0100.16317.07
5.5.90.0180.15717.11
5.5.80.0030.16317.03
5.5.70.0050.17216.92
5.5.60.0120.15917.13
5.5.50.0050.16916.96
5.5.40.0070.17016.93
5.5.30.0030.15117.01
5.5.20.0070.18117.04
5.5.10.0030.17817.06
5.5.00.0130.16116.84
5.4.450.0030.04315.53
5.4.440.0080.03315.62
5.4.430.0080.04115.58
5.4.420.0030.04215.58
5.4.410.0020.04515.59
5.4.400.0070.02015.49
5.4.390.0090.03915.45
5.4.380.0060.02215.42
5.4.370.0030.04215.47
5.4.360.0130.03315.39
5.4.350.0030.02415.35
5.4.340.0050.04015.39
5.4.330.0030.00311.88
5.4.320.0050.04015.50
5.4.310.0110.03215.41
5.4.300.0030.02115.51
5.4.290.0060.04215.33
5.4.280.0030.03815.47
5.4.270.0020.02515.48
5.4.260.0070.03215.43
5.4.250.0050.03815.49
5.4.240.0030.02515.39
5.4.230.0020.03815.41
5.4.220.0030.02215.51
5.4.210.0050.03315.55
5.4.200.0060.04115.46
5.4.190.0050.03015.38
5.4.180.0030.03915.47
5.4.170.0080.03515.50
5.4.160.0080.03315.42
5.4.150.0050.02215.54
5.4.140.0040.02314.10
5.4.130.0060.02014.08
5.4.120.0060.04113.95
5.4.110.0030.03714.12
5.4.100.0060.01914.04
5.4.90.0080.01614.15
5.4.80.0070.01714.04
5.4.70.0070.03414.09
5.4.60.0080.02014.10
5.4.50.0070.03214.04
5.4.40.0070.03714.07
5.4.30.0100.02514.15
5.4.20.0050.03214.06
5.4.10.0080.02714.14
5.4.00.0050.03713.78
5.3.290.0070.03913.23
5.3.280.0040.02713.23
5.3.270.0000.02513.18
5.3.260.0050.02713.16
5.3.250.0020.02813.20
5.3.240.0020.04213.16
5.3.230.0020.02613.23
5.3.220.0020.02713.18
5.3.210.0050.04013.20
5.3.200.0100.02013.14
5.3.190.0100.02013.15
5.3.180.0050.02113.15
5.3.170.0050.02513.21
5.3.160.0060.03913.19
5.3.150.0030.04213.14
5.3.140.0000.04113.15
5.3.130.0030.03113.21
5.3.120.0030.03813.19
5.3.110.0070.04013.19
5.3.100.0050.03112.95
5.3.90.0030.02412.94
5.3.80.0020.03012.95
5.3.70.0030.02612.94
5.3.60.0050.02812.91
5.3.50.0050.01912.89
5.3.40.0050.04012.83
5.3.30.0040.02212.85
5.3.20.0060.03612.72
5.3.10.0050.03812.72
5.3.00.0000.02912.73
5.2.170.0000.03311.19
5.2.160.0030.04711.18
5.2.150.0100.03311.10
5.2.140.0030.05711.16
5.2.130.0130.05011.15
5.2.120.0170.03011.11
5.2.110.0030.04311.06
5.2.100.0100.06011.09
5.2.90.0100.03311.09
5.2.80.0000.03710.93
5.2.70.0030.05011.16
5.2.60.0030.06311.13
5.2.50.0030.05711.01
5.2.40.0030.06010.98
5.2.30.0070.06010.79
5.2.20.0030.03310.85
5.2.10.0100.03310.77
5.2.00.0030.03310.73
5.1.60.0070.0509.99
5.1.50.0030.04710.02
5.1.40.0030.0509.97
5.1.30.0000.03710.41
5.1.20.0070.02710.37
5.1.10.0070.04710.05
5.1.00.0100.04010.05
5.0.50.0030.0478.55
5.0.40.0070.0438.49
5.0.30.0000.0678.05
5.0.20.0070.0438.28
5.0.10.0000.0408.28
5.0.00.0100.0578.23
4.4.90.0030.0337.71
4.4.80.0000.0377.71
4.4.70.0030.0407.71
4.4.60.0000.0407.71
4.4.50.0030.0337.71
4.4.40.0030.0237.71
4.4.30.0030.0207.71
4.4.20.0070.0307.71
4.4.10.0070.0207.71
4.4.00.0070.0407.71
4.3.110.0030.0337.71
4.3.100.0000.0377.71
4.3.90.0030.0337.71
4.3.80.0030.0407.71
4.3.70.0000.0277.71
4.3.60.0000.0277.71
4.3.50.0030.0337.71
4.3.40.0000.0507.71
4.3.30.0070.0307.71
4.3.20.0030.0237.71
4.3.10.0000.0307.71
4.3.00.0000.0177.71

preferences:
37.55 ms | 401 KiB | 5 Q