3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = "Madara is Awesome!"; $hash = password_hash($password, PASSWORD_BCRYPT, ["salt" => "MadaraIsBawsNeeds22chefrefdsfr"]); //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.0070.13914.71
7.4.00.0030.13814.68
7.3.130.0030.14214.73
7.3.120.0070.13014.41
7.3.110.0150.12814.75
7.3.100.0100.13014.82
7.3.90.0030.13214.89
7.3.80.0070.12814.52
7.3.70.0030.13714.82
7.3.60.0000.13614.76
7.3.50.0070.12614.88
7.3.40.0100.11914.86
7.3.30.0100.12114.50
7.3.20.0070.13016.56
7.3.10.0000.14016.38
7.3.00.0000.13516.74
7.2.260.0100.13514.82
7.2.250.0070.13715.05
7.2.240.0030.13215.07
7.2.230.0130.13014.85
7.2.220.0030.13314.67
7.2.210.0030.13215.05
7.2.200.0100.12414.98
7.2.190.0030.13314.63
7.2.180.0030.13514.75
7.2.170.0030.13514.94
7.2.160.0000.13514.86
7.2.150.0030.13716.72
7.2.140.0030.13016.71
7.2.130.0030.13616.81
7.2.120.0100.12416.44
7.2.110.0030.13116.63
7.2.100.0000.13616.42
7.2.90.0000.13516.59
7.2.80.0030.13216.66
7.2.70.0030.13016.64
7.2.60.0070.13116.62
7.2.50.0070.12816.48
7.2.40.0000.13416.69
7.2.30.0030.13216.88
7.2.20.0030.13416.70
7.2.10.0030.13316.83
7.2.00.0030.13718.03
7.1.330.0100.12815.70
7.1.320.0030.13515.59
7.1.310.0070.13415.85
7.1.300.0030.13615.54
7.1.290.0070.12715.39
7.1.280.0030.13315.69
7.1.270.0030.12815.73
7.1.260.0070.13115.74
7.1.250.0030.12715.78
7.1.240.0030.12915.65
7.1.230.0000.13415.81
7.1.220.0070.12715.72
7.1.210.0000.13515.31
7.1.200.0070.12615.81
7.1.190.0030.13115.84
7.1.180.0100.13515.65
7.1.170.0070.12915.73
7.1.160.0030.12915.84
7.1.150.0000.13515.49
7.1.140.0030.13515.84
7.1.130.0030.12615.72
7.1.120.0030.13615.91
7.1.110.0030.13215.86
7.1.100.0020.13216.86
7.1.90.0070.12215.64
7.1.80.0100.12415.93
7.1.70.0030.12816.38
7.1.60.0080.16117.41
7.1.50.0020.15016.15
7.1.40.0030.13215.48
7.1.30.0030.13215.41
7.1.20.0000.13715.77
7.1.10.0100.12015.82
7.1.00.0070.13618.96
7.0.330.0030.12815.29
7.0.320.0030.13115.41
7.0.310.0030.12615.33
7.0.300.0030.13115.10
7.0.290.0000.13315.00
7.0.280.0000.13415.34
7.0.270.0100.12415.51
7.0.260.0030.13415.17
7.0.250.0030.13515.40
7.0.240.0030.12615.21
7.0.230.0100.13215.25
7.0.220.0100.13215.18
7.0.210.0030.12515.46
7.0.200.0050.12815.99
7.0.190.0000.14315.23
7.0.180.0000.13315.36
7.0.170.0000.13715.27
7.0.160.0030.13215.28
7.0.150.0070.12815.23
7.0.140.0030.17418.65
7.0.130.0070.13515.26
7.0.120.0030.13215.25
7.0.110.0000.12515.41
7.0.100.0080.16217.74
7.0.90.0080.17317.75
7.0.80.0100.16817.50
7.0.70.0070.17117.66
7.0.60.0030.17517.77
7.0.50.0000.15117.87
7.0.40.0020.14116.75
7.0.30.0020.13916.63
7.0.20.0030.14016.64
7.0.10.0070.17316.71
7.0.00.0050.18416.86
5.6.400.0070.12614.18
5.6.390.0030.13814.41
5.6.380.0030.13014.15
5.6.370.0070.12514.32
5.6.360.0070.12713.88
5.6.350.0030.12914.25
5.6.340.0100.12214.14
5.6.330.0030.13114.25
5.6.320.0030.12914.50
5.6.310.0070.12714.16
5.6.300.0100.12514.36
5.6.290.0030.13013.87
5.6.280.0050.18417.45
5.6.270.0030.12714.19
5.6.260.0070.13314.57
5.6.250.0030.17417.40
5.6.240.0120.15317.41
5.6.230.0230.14217.42
5.6.220.0050.17617.34
5.6.210.0150.16817.41
5.6.200.0000.15017.49
5.6.190.0020.15317.56
5.6.180.0150.14617.59
5.6.170.0050.18417.56
5.6.160.0030.17017.56
5.6.150.0020.15017.57
5.6.140.0070.14117.59
5.6.130.0070.13417.64
5.6.120.0020.18217.44
5.6.110.0020.14817.69
5.6.100.0070.15017.71
5.6.90.0070.14717.48
5.6.80.0050.14417.14
5.6.70.0030.16417.21
5.6.60.0050.16717.27
5.6.50.0030.16417.39
5.6.40.0030.17317.08
5.6.30.0070.16117.32
5.6.20.0100.17817.11
5.6.10.0070.18517.33
5.6.00.0120.17517.15
5.5.380.0080.16217.42
5.5.370.0070.16917.25
5.5.360.0120.16617.12
5.5.350.0100.15717.20
5.5.340.0050.14417.50
5.5.330.0080.14317.60
5.5.320.0070.16817.54
5.5.310.0050.17917.38
5.5.300.0020.15317.39
5.5.290.0050.14517.46
5.5.280.0050.14917.40
5.5.270.0050.16617.61
5.5.260.0080.13317.18
5.5.250.0070.14417.35
5.5.240.0050.15517.13
5.5.230.0120.17917.25
5.5.220.0080.16716.90
5.5.210.0080.14317.35
5.5.200.0050.16617.09
5.5.190.0050.17817.26
5.5.180.0080.15017.22
5.5.170.0030.12913.89
5.5.160.0080.16817.14
5.5.150.0180.15217.02
5.5.140.0020.16817.00
5.5.130.0100.16617.03
5.5.120.0170.16217.18
5.5.110.0030.17617.03
5.5.100.0020.18417.21
5.5.90.0100.17017.00
5.5.80.0050.17617.03
5.5.70.0120.15916.97
5.5.60.0080.16217.05
5.5.50.0120.16217.07
5.5.40.0070.16817.02
5.5.30.0080.16017.13
5.5.20.0070.18117.20
5.5.10.0080.18216.98
5.5.00.0120.17317.09
5.4.450.0020.03915.11
5.4.440.0020.02315.00
5.4.430.0030.02115.05
5.4.420.0000.02715.24
5.4.410.0030.02515.00
5.4.400.0020.04314.79
5.4.390.0050.03014.84
5.4.380.0070.03714.96
5.4.370.0090.03214.91
5.4.360.0070.04214.88
5.4.350.0050.02314.84
5.4.340.0060.03814.88
5.4.330.0030.00310.90
5.4.320.0070.03715.00
5.4.310.0050.03014.76
5.4.300.0040.03914.77
5.4.290.0000.04914.98
5.4.280.0120.03214.83
5.4.270.0080.03814.95
5.4.260.0070.03814.93
5.4.250.0050.02714.99
5.4.240.0050.02014.95
5.4.230.0020.04015.00
5.4.220.0030.04314.85
5.4.210.0120.03614.93
5.4.200.0080.03314.79
5.4.190.0050.02614.99
5.4.180.0070.04514.89
5.4.170.0090.03914.88
5.4.160.0080.03314.95
5.4.150.0020.04214.98
5.4.140.0050.03513.51
5.4.130.0030.03913.41
5.4.120.0050.03313.58
5.4.110.0050.03913.39
5.4.100.0060.04013.65
5.4.90.0070.03713.43
5.4.80.0070.02513.68
5.4.70.0100.02713.46
5.4.60.0100.03513.49
5.4.50.0030.02813.44
5.4.40.0050.03813.58
5.4.30.0030.03913.47
5.4.20.0070.03513.51
5.4.10.0120.03313.50
5.4.00.0060.04013.17
5.3.290.0080.03712.47
5.3.280.0100.03412.50
5.3.270.0020.03612.43
5.3.260.0030.03712.44
5.3.250.0030.03912.44
5.3.240.0040.04012.43
5.3.230.0060.03812.50
5.3.220.0050.03812.41
5.3.210.0080.03512.47
5.3.200.0050.03712.49
5.3.190.0070.03712.47
5.3.180.0050.04212.41
5.3.170.0050.04012.49
5.3.160.0040.04212.47
5.3.150.0080.03512.47
5.3.140.0070.03712.47
5.3.130.0080.03812.48
5.3.120.0050.03412.45
5.3.110.0070.03112.46
5.3.100.0070.03412.14
5.3.90.0050.04012.22
5.3.80.0080.03812.22
5.3.70.0030.04112.22
5.3.60.0030.02512.18
5.3.50.0040.04012.17
5.3.40.0050.04012.13
5.3.30.0070.02512.06
5.3.20.0050.03712.05
5.3.10.0030.04011.91
5.3.00.0050.03912.00
5.2.170.0070.06311.01
5.2.160.0070.06311.20
5.2.150.0030.06711.19
5.2.140.0070.06011.09
5.2.130.0070.04011.06
5.2.120.0030.03010.95
5.2.110.0030.06310.96
5.2.100.0000.05711.09
5.2.90.0070.06011.07
5.2.80.0070.06011.01
5.2.70.0100.05011.09
5.2.60.0100.06010.88
5.2.50.0170.04711.05
5.2.40.0100.05310.84
5.2.30.0070.03310.83
5.2.20.0070.06010.79
5.2.10.0130.05310.89
5.2.00.0030.06310.78
5.1.60.0070.04310.04
5.1.50.0130.0239.98
5.1.40.0070.0509.82
5.1.30.0130.05010.41
5.1.20.0030.05710.26
5.1.10.0030.05710.05
5.1.00.0030.05010.05
5.0.50.0030.0408.38
5.0.40.0030.0438.32
5.0.30.0000.0578.32
5.0.20.0000.0378.32
5.0.10.0000.0478.32
5.0.00.0070.0608.32
4.4.90.0030.0338.32
4.4.80.0070.0238.32
4.4.70.0070.0308.32
4.4.60.0100.0308.32
4.4.50.0070.0278.32
4.4.40.0000.0308.32
4.4.30.0000.0378.32
4.4.20.0170.0208.32
4.4.10.0030.0338.32
4.4.00.0030.0578.32
4.3.110.0030.0338.32
4.3.100.0100.0278.32
4.3.90.0030.0338.32
4.3.80.0070.0508.32
4.3.70.0030.0178.32
4.3.60.0000.0378.32
4.3.50.0030.0378.32
4.3.40.0030.0508.32
4.3.30.0000.0278.32
4.3.20.0000.0378.32
4.3.10.0000.0408.32
4.3.00.0000.0338.32

preferences:
42.21 ms | 401 KiB | 5 Q