3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = "Madara is Awesome!"; $hash = password_hash($password, PASSWORD_BCRYPT, ["salt" => "w2INsrMdsrfrfsaCaadaB2rehe"]); //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.3.10.0000.14216.44
7.3.00.0130.12516.59
7.2.130.0160.12216.72
7.2.120.0200.12916.77
7.2.110.0030.13516.88
7.2.100.0130.12716.82
7.2.90.0130.12916.98
7.2.80.0070.14016.95
7.2.70.0070.12716.81
7.2.60.0070.13316.77
7.2.50.0030.13016.86
7.2.40.0030.13416.77
7.2.30.0100.12916.74
7.2.20.0030.13316.61
7.2.10.0100.13116.69
7.2.00.0030.13518.05
7.1.250.0070.13715.72
7.1.200.0000.12815.48
7.1.100.0000.13917.84
7.1.70.0030.12417.07
7.1.60.0030.20919.70
7.1.50.0130.17816.82
7.1.00.0070.22022.35
7.0.200.0070.12416.71
7.0.140.0030.22722.21
7.0.100.0070.20719.88
7.0.90.0130.18019.90
7.0.80.0130.21019.92
7.0.70.0070.20319.99
7.0.60.0200.16719.87
7.0.50.0230.16720.34
7.0.40.0000.15720.14
7.0.30.0100.21020.10
7.0.20.0130.20319.94
7.0.10.0030.21320.02
7.0.00.0130.22320.17
5.6.280.0000.23721.06
5.6.250.0000.16020.75
5.6.240.0100.22720.63
5.6.230.0000.15020.59
5.6.220.0070.14020.57
5.6.210.0100.19720.42
5.6.200.0100.15321.06
5.6.190.0030.14320.95
5.6.180.0070.17020.98
5.6.170.0130.17021.11
5.6.160.0030.14320.92
5.6.150.0100.22320.95
5.6.140.0030.14021.00
5.6.130.0130.22321.09
5.6.120.0070.25021.03
5.6.110.0070.17021.07
5.6.100.0130.19021.00
5.6.90.0100.18021.13
5.6.80.0130.19320.38
5.6.70.0100.21320.41
5.6.60.0030.21320.37
5.6.50.0070.16020.48
5.6.40.0100.20720.35
5.6.30.0100.21320.46
5.6.20.0170.21020.42
5.6.10.0070.20320.43
5.6.00.0130.13320.34
5.5.380.0000.16320.34
5.5.370.0130.22020.41
5.5.360.0070.21320.37
5.5.350.0170.21720.41
5.5.340.0100.17020.82
5.5.330.0070.20720.89
5.5.320.0100.22020.77
5.5.310.0070.13720.86
5.5.300.0130.21320.78
5.5.290.0070.21320.73
5.5.280.0130.22320.75
5.5.270.0230.19720.86
5.5.260.0030.14320.75
5.5.250.0070.18020.57
5.5.240.0030.19720.28
5.5.230.0100.13320.16
5.5.220.0000.16720.29
5.5.210.0070.18020.17
5.5.200.0030.21720.20
5.5.190.0100.20319.98
5.5.180.0000.21720.23
5.5.160.0070.16020.07
5.5.150.0030.19320.23
5.5.140.0130.18720.22
5.5.130.0130.23320.16
5.5.120.0070.21020.10
5.5.110.0000.16720.11
5.5.100.0170.22020.04
5.5.90.0100.19320.06
5.5.80.0030.17720.06
5.5.70.0130.17720.09
5.5.60.0100.22320.07
5.5.50.0100.16720.07
5.5.40.0000.17320.04
5.5.30.0130.21020.04
5.5.20.0030.14019.90
5.5.10.0030.22020.03
5.5.00.0070.21019.94
5.4.450.0000.04319.38
5.4.440.0170.07019.44
5.4.430.0100.07319.55
5.4.420.0070.07319.36
5.4.410.0070.07719.22
5.4.400.0100.07019.13
5.4.390.0030.03319.04
5.4.380.0000.08018.94
5.4.370.0070.07319.11
5.4.360.0170.06718.96
5.4.350.0070.03318.94
5.4.340.0000.04018.96
5.4.320.0070.03018.90
5.4.310.0070.06318.98
5.4.300.0070.04019.11
5.4.290.0100.06719.22
5.4.280.0100.07319.12
5.4.270.0070.05319.02
5.4.260.0100.05719.05
5.4.250.0130.04018.94
5.4.240.0170.06719.11
5.4.230.0270.05718.78
5.4.220.0030.06318.94
5.4.210.0100.07319.22
5.4.200.0100.05318.78
5.4.190.0070.03719.13
5.4.180.0170.06719.02
5.4.170.0170.07018.95
5.4.160.0070.07719.05
5.4.150.0030.04319.00
5.4.140.0070.07316.07
5.4.130.0100.07316.35
5.4.120.0070.03316.17
5.4.110.0100.04316.20
5.4.100.0100.06716.26
5.4.90.0100.02716.23
5.4.80.0000.07716.27
5.4.70.0070.04016.19
5.4.60.0170.05716.28
5.4.50.0030.04316.18
5.4.40.0030.04016.47
5.4.30.0070.03016.27
5.4.20.0100.03016.41
5.4.10.0030.06016.28
5.4.00.0030.03315.51
5.3.290.0030.07714.50
5.3.280.0030.05314.43
5.3.270.0100.07314.61
5.3.260.0000.04314.46
5.3.250.0100.07014.55
5.3.240.0130.05014.45
5.3.230.0030.08014.45
5.3.220.0030.04014.50
5.3.210.0070.03314.56
5.3.200.0070.07314.56
5.3.190.0070.05714.53
5.3.180.0070.03714.52
5.3.170.0000.03714.44
5.3.160.0130.07014.42
5.3.150.0030.07714.56
5.3.140.0030.04014.56
5.3.130.0000.05014.41
5.3.120.0030.04714.37
5.3.110.0130.07714.37
5.3.100.0100.08013.88
5.3.90.0070.04313.89
5.3.80.0130.05013.87
5.3.70.0070.06713.87
5.3.60.0030.05313.87
5.3.50.0000.07713.89
5.3.40.0000.08013.72
5.3.30.0000.05013.77
5.3.20.0130.03313.69
5.3.10.0100.03313.51
5.3.00.0000.07313.57
5.2.170.0100.02711.19
5.2.160.0000.03311.21
5.2.150.0030.05711.06
5.2.140.0070.02710.97
5.2.130.0030.04011.05
5.2.120.0030.03310.96
5.2.110.0030.03010.89
5.2.100.0130.05311.05
5.2.90.0030.05011.06
5.2.80.0200.03711.16
5.2.70.0030.03010.91
5.2.60.0030.06311.07
5.2.50.0070.03011.01
5.2.40.0030.06010.98
5.2.30.0070.05710.92
5.2.20.0130.05310.89
5.2.10.0100.05010.92
5.2.00.0000.04310.77
5.1.60.0070.0479.87
5.1.50.0030.03310.07
5.1.40.0130.0439.98
5.1.30.0100.04310.39
5.1.20.0170.02310.38
5.1.10.0030.0439.91
5.1.00.0000.03310.10
5.0.50.0030.0378.53
5.0.40.0030.0278.49
5.0.30.0030.0378.09
5.0.20.0070.0238.26
5.0.10.0030.0378.27
5.0.00.0030.0508.15
4.4.90.0100.0178.09
4.4.80.0070.0108.09
4.4.70.0030.0178.09
4.4.60.0000.0278.09
4.4.50.0030.0138.09
4.4.40.0000.0508.09
4.4.30.0000.0338.09
4.4.20.0030.0338.09
4.4.10.0030.0278.09
4.4.00.0000.0538.09
4.3.110.0030.0208.09
4.3.100.0000.0178.09
4.3.90.0000.0208.09
4.3.80.0030.0408.09
4.3.70.0070.0308.09
4.3.60.0100.0208.09
4.3.50.0000.0378.09
4.3.40.0000.0478.09
4.3.30.0000.0238.09
4.3.20.0070.0308.09
4.3.10.0030.0238.09
4.3.00.0000.0178.09

preferences:
37.83 ms | 401 KiB | 5 Q