3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = "Madara is Awesome!"; $hash = password_hash($password, PASSWORD_BCRYPT, ["salt" => "MadaraIsBawsNeeds22chefrdsfsdfsdfsdffdsfr"]); //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.00.0100.13714.56
7.3.120.0160.12914.59
7.3.110.0070.13214.85
7.3.100.0100.13514.75
7.3.90.0030.13214.93
7.3.80.0030.12614.79
7.3.70.0070.12814.76
7.3.60.0000.13814.59
7.3.50.0070.12914.60
7.3.40.0100.12314.75
7.3.30.0000.13914.74
7.3.20.0070.13316.46
7.3.10.0000.13216.33
7.3.00.0030.12716.70
7.2.250.0100.13415.05
7.2.240.0130.13614.77
7.2.230.0030.13414.87
7.2.220.0000.14115.07
7.2.210.0030.13414.88
7.2.200.0030.13015.01
7.2.190.0030.13814.94
7.2.180.0070.12814.71
7.2.170.0030.13314.76
7.2.160.0100.12614.94
7.2.150.0030.13116.73
7.2.140.0030.13516.79
7.2.130.0070.12416.58
7.2.120.0070.13416.71
7.2.110.0070.12916.84
7.2.100.0100.12816.80
7.2.90.0030.13916.68
7.2.80.0080.12916.52
7.2.70.0030.13516.69
7.2.60.0030.12916.76
7.2.50.0030.13116.63
7.2.40.0030.13216.57
7.2.30.0000.13316.55
7.2.20.0070.12516.73
7.2.10.0070.12716.61
7.2.00.0030.13618.09
7.1.330.0070.12715.57
7.1.320.0000.13615.94
7.1.310.0030.13915.79
7.1.300.0030.13315.54
7.1.290.0000.13615.85
7.1.280.0000.13215.71
7.1.270.0030.13315.62
7.1.260.0030.13115.63
7.1.250.0070.12815.73
7.1.200.0070.13215.40
7.1.100.0000.13618.17
7.1.70.0070.12017.04
7.1.60.0130.20219.17
7.1.50.0070.15116.89
7.1.00.0030.19022.40
7.0.200.0000.13316.39
7.0.140.0030.22022.08
7.0.110.0100.21719.94
7.0.100.0130.22019.93
7.0.90.0030.21719.93
7.0.80.0130.16719.96
7.0.70.0100.15719.91
7.0.60.0000.20319.98
7.0.50.0070.22020.36
7.0.40.0030.22020.19
7.0.30.0030.21020.16
7.0.20.0100.23020.24
7.0.10.0170.22720.26
7.0.00.0100.22020.23
5.6.280.0070.22720.80
5.6.250.0100.20720.73
5.6.240.0100.20020.56
5.6.230.0130.20720.55
5.6.220.0030.18020.60
5.6.210.0130.21320.68
5.6.200.0070.22721.27
5.6.190.0030.23021.10
5.6.180.0170.22721.02
5.6.170.0070.22321.18
5.6.160.0070.16720.93
5.6.150.0030.19720.96
5.6.140.0170.21021.27
5.6.130.0230.22021.15
5.6.120.0130.21721.13
5.6.110.0100.21721.21
5.6.100.0100.23021.12
5.6.90.0100.14321.18
5.6.80.0030.21720.30
5.6.70.0100.20320.35
5.6.60.0100.21320.30
5.6.50.0070.20720.52
5.6.40.0070.16020.63
5.6.30.0070.20720.43
5.6.20.0100.21320.63
5.6.10.0030.20720.55
5.6.00.0100.20020.55
5.5.380.0100.20020.30
5.5.370.0070.21020.24
5.5.360.0030.21320.55
5.5.350.0000.24720.44
5.5.340.0070.21020.86
5.5.330.0100.22320.83
5.5.320.0200.19320.77
5.5.310.0070.22020.73
5.5.300.0200.22720.80
5.5.290.0070.21021.02
5.5.280.0070.21020.83
5.5.270.0100.15720.93
5.5.260.0030.16320.79
5.5.250.0030.16020.70
5.5.240.0100.20020.33
5.5.230.0100.20320.11
5.5.220.0070.21020.21
5.5.210.0030.22020.27
5.5.200.0170.21020.36
5.5.190.0200.20020.36
5.5.180.0070.23720.29
5.5.160.0030.20720.14
5.5.150.0070.21320.28
5.5.140.0130.17320.36
5.5.130.0100.23720.29
5.5.120.0130.23320.38
5.5.110.0100.23320.20
5.5.100.0070.22319.96
5.5.90.0100.23320.13
5.5.80.0070.21320.24
5.5.70.0100.22020.03
5.5.60.0130.22020.17
5.5.50.0070.20720.02
5.5.40.0100.20320.16
5.5.30.0070.19320.23
5.5.20.0000.16720.22
5.5.10.0100.21320.07
5.5.00.0000.18320.17
5.4.450.0000.08719.57
5.4.440.0070.07019.48
5.4.430.0030.08319.30
5.4.420.0070.04319.49
5.4.410.0030.07719.13
5.4.400.0130.06319.18
5.4.390.0100.07719.12
5.4.380.0130.07019.10
5.4.370.0070.07319.18
5.4.360.0100.07719.20
5.4.350.0070.08019.13
5.4.340.0270.06018.98
5.4.320.0030.08319.03
5.4.310.0070.07719.08
5.4.300.0000.08019.17
5.4.290.0230.06319.07
5.4.280.0070.07719.09
5.4.270.0130.07319.09
5.4.260.0030.07719.07
5.4.250.0100.07019.00
5.4.240.0000.08719.24
5.4.230.0070.04319.24
5.4.220.0100.07019.16
5.4.210.0030.03719.15
5.4.200.0100.07019.15
5.4.190.0070.04319.11
5.4.180.0170.07319.24
5.4.170.0100.07719.27
5.4.160.0100.03718.96
5.4.150.0100.07718.92
5.4.140.0030.08016.25
5.4.130.0130.06316.46
5.4.120.0070.07716.46
5.4.110.0030.07716.48
5.4.100.0000.08016.53
5.4.90.0070.07316.23
5.4.80.0070.07716.47
5.4.70.0170.06716.51
5.4.60.0100.07016.16
5.4.50.0100.04316.11
5.4.40.0070.06016.31
5.4.30.0130.06016.34
5.4.20.0100.07316.37
5.4.10.0130.07016.25
5.4.00.0030.04715.91
5.3.290.0030.08014.50
5.3.280.0030.04314.46
5.3.270.0030.04714.71
5.3.260.0000.07714.55
5.3.250.0030.08014.47
5.3.240.0100.06714.55
5.3.230.0100.07314.50
5.3.220.0030.08014.58
5.3.210.0100.07014.63
5.3.200.0170.06014.47
5.3.190.0030.05014.59
5.3.180.0070.07314.50
5.3.170.0000.07714.43
5.3.160.0070.07314.49
5.3.150.0030.07014.49
5.3.140.0070.07714.48
5.3.130.0130.04014.64
5.3.120.0170.06714.56
5.3.110.0130.07014.48
5.3.100.0000.08314.12
5.3.90.0100.07714.10
5.3.80.0000.05013.90
5.3.70.0130.07013.80
5.3.60.0270.03713.88
5.3.50.0000.07314.01
5.3.40.0030.07313.77
5.3.30.0170.05714.01
5.3.20.0130.06313.75
5.3.10.0070.07013.76
5.3.00.0070.07313.57
5.2.170.0130.06311.03
5.2.160.0070.03011.21
5.2.150.0100.05711.21
5.2.140.0070.06311.08
5.2.130.0030.06311.00
5.2.120.0130.05711.26
5.2.110.0030.06711.11
5.2.100.0030.06711.04
5.2.90.0100.04311.05
5.2.80.0100.05711.12
5.2.70.0030.04011.25
5.2.60.0030.06011.05
5.2.50.0030.06011.18
5.2.40.0030.06710.93
5.2.30.0070.06010.92
5.2.20.0030.05010.89
5.2.10.0030.06310.77
5.2.00.0000.06310.64
5.1.60.0070.02310.27
5.1.50.0000.03710.27
5.1.40.0130.04310.27
5.1.30.0070.03010.33
5.1.20.0100.04710.34
5.1.10.0070.05710.27
5.1.00.0030.05710.27
5.0.50.0030.04010.27
5.0.40.0030.04710.27
5.0.30.0000.05710.27
5.0.20.0000.04710.27
5.0.10.0000.04010.27
5.0.00.0130.05710.27
4.4.90.0030.03310.27
4.4.80.0100.03010.27
4.4.70.0030.03010.27
4.4.60.0030.03010.27
4.4.50.0000.04010.27
4.4.40.0030.05010.27
4.4.30.0030.03710.27
4.4.20.0100.02710.27
4.4.10.0000.03710.27
4.4.00.0070.05010.27
4.3.110.0070.03310.27
4.3.100.0030.02710.27
4.3.90.0070.03010.27
4.3.80.0030.02710.27
4.3.70.0030.03010.27
4.3.60.0070.02310.27
4.3.50.0000.03310.27
4.3.40.0070.03710.27
4.3.30.0030.03710.27
4.3.20.0030.03310.27
4.3.10.0000.03710.27
4.3.00.0000.02710.27

preferences:
38.34 ms | 400 KiB | 5 Q