3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = "Madara is Awesome!"; $hash = password_hash($password, PASSWORD_BCRYPT, ["salt" => "ferfrferferferferfreferferferferf"]); //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.0130.13314.70
7.3.120.0070.13914.64
7.3.110.0030.13914.62
7.3.100.0070.14014.93
7.3.90.0030.13314.37
7.3.80.0070.12714.75
7.3.70.0030.13314.77
7.3.60.0070.12914.83
7.3.50.0030.13514.89
7.3.40.0030.12814.48
7.3.30.0000.14314.48
7.3.20.0030.13216.29
7.3.10.0050.13516.45
7.3.00.0030.12916.40
7.2.250.0000.14415.00
7.2.240.0070.14115.10
7.2.230.0130.12414.70
7.2.220.0070.12614.75
7.2.210.0030.12615.09
7.2.200.0030.13714.85
7.2.190.0030.13714.99
7.2.180.0030.13514.90
7.2.170.0070.12214.65
7.2.130.0130.12416.86
7.2.120.0100.12316.76
7.2.110.0030.13016.52
7.2.100.0160.12516.96
7.2.90.0070.13416.99
7.2.80.0070.13116.76
7.2.70.0130.12916.95
7.2.60.0100.13016.60
7.2.50.0030.13116.84
7.2.40.0000.13516.86
7.2.30.0070.13416.67
7.2.20.0070.13216.72
7.2.10.0030.13116.81
7.2.00.0120.12917.87
7.1.330.0030.13015.66
7.1.320.0030.12915.86
7.1.310.0000.14215.60
7.1.300.0100.12715.70
7.1.290.0030.12515.93
7.1.280.0030.13115.73
7.1.270.0070.12415.86
7.1.260.0030.12815.79
7.1.250.0100.12715.56
7.1.200.0070.12715.44
7.1.100.0070.12717.86
7.1.70.0070.14517.14
7.1.60.0030.18819.17
7.1.50.0100.12016.89
7.1.00.0000.23722.33
7.0.200.0070.12316.64
7.0.140.0070.22022.08
7.0.100.0170.20319.91
7.0.90.0070.21019.90
7.0.80.0000.18019.97
7.0.70.0030.21019.93
7.0.60.0070.22019.91
7.0.50.0130.22020.25
7.0.40.0030.21020.05
7.0.30.0030.19320.00
7.0.20.0070.16320.08
7.0.10.0030.19019.95
7.0.00.0030.18320.10
5.6.280.0070.24020.81
5.6.250.0170.20020.59
5.6.240.0070.16320.75
5.6.230.0030.23320.68
5.6.220.0030.19020.59
5.6.210.0130.20320.74
5.6.200.0170.21721.01
5.6.190.0100.16020.99
5.6.180.0030.20021.03
5.6.170.0070.21721.00
5.6.160.0070.20021.03
5.6.150.0070.22720.93
5.6.140.0070.21021.02
5.6.130.0000.17321.00
5.6.120.0000.21021.10
5.6.110.0070.23021.07
5.6.100.0130.22721.00
5.6.90.0100.22021.09
5.6.80.0100.21320.41
5.6.70.0030.23720.43
5.6.60.0070.17020.44
5.6.50.0070.21720.45
5.6.40.0070.21720.38
5.6.30.0100.18320.40
5.6.20.0100.17320.26
5.6.10.0070.18020.30
5.6.00.0230.16320.32
5.5.380.0070.23720.34
5.5.370.0100.23320.33
5.5.360.0070.21020.34
5.5.350.0130.21320.41
5.5.340.0130.20720.91
5.5.330.0070.24320.79
5.5.320.0170.20020.82
5.5.310.0000.16720.87
5.5.300.0130.23320.79
5.5.290.0130.19320.88
5.5.280.0000.22020.88
5.5.270.0100.21720.88
5.5.260.0100.18320.79
5.5.250.0030.22720.71
5.5.240.0030.17720.02
5.5.230.0130.22020.13
5.5.220.0030.18320.10
5.5.210.0070.20720.20
5.5.200.0000.17320.12
5.5.190.0100.21020.27
5.5.180.0170.20720.16
5.5.160.0100.16320.26
5.5.150.0130.19720.21
5.5.140.0100.23020.21
5.5.130.0100.20720.13
5.5.120.0100.20320.20
5.5.110.0130.22020.16
5.5.100.0030.18020.16
5.5.90.0170.20720.09
5.5.80.0070.20020.15
5.5.70.0200.20320.09
5.5.60.0100.22020.07
5.5.50.0130.22020.13
5.5.40.0070.22019.92
5.5.30.0130.22720.04
5.5.20.0200.16320.14
5.5.10.0100.22019.99
5.5.00.0030.24719.95
5.4.450.0070.08019.14
5.4.440.0030.07319.47
5.4.430.0030.04319.30
5.4.420.0070.07019.11
5.4.410.0030.06019.28
5.4.400.0170.06718.79
5.4.390.0070.08018.90
5.4.380.0030.07318.96
5.4.370.0000.06718.90
5.4.360.0070.07019.23
5.4.350.0130.06319.07
5.4.340.0100.07718.80
5.4.320.0070.07318.98
5.4.310.0070.08319.07
5.4.300.0030.06019.03
5.4.290.0030.05319.07
5.4.280.0170.07019.09
5.4.270.0100.07318.90
5.4.260.0070.07718.81
5.4.250.0100.07319.04
5.4.240.0070.07718.80
5.4.230.0100.06719.07
5.4.220.0100.07319.22
5.4.210.0030.07019.02
5.4.200.0030.05318.97
5.4.190.0200.06019.11
5.4.180.0130.06319.08
5.4.170.0100.04019.23
5.4.160.0030.04318.94
5.4.150.0030.04718.76
5.4.140.0100.06316.31
5.4.130.0000.07316.29
5.4.120.0030.05716.19
5.4.110.0100.04716.30
5.4.100.0070.07316.43
5.4.90.0130.04316.26
5.4.80.0070.07016.34
5.4.70.0070.05316.22
5.4.60.0100.03716.18
5.4.50.0070.07316.18
5.4.40.0000.04316.36
5.4.30.0070.05716.23
5.4.20.0100.07016.35
5.4.10.0130.06716.27
5.4.00.0170.06715.45
5.3.290.0030.08014.57
5.3.280.0100.07714.56
5.3.270.0030.04714.57
5.3.260.0130.06314.57
5.3.250.0030.07314.47
5.3.240.0100.06714.46
5.3.230.0000.04714.55
5.3.220.0100.07314.52
5.3.210.0100.07014.39
5.3.200.0070.06314.54
5.3.190.0130.05714.56
5.3.180.0130.06714.40
5.3.170.0200.02714.52
5.3.160.0130.07014.50
5.3.150.0130.05014.43
5.3.140.0070.05014.42
5.3.130.0000.04714.38
5.3.120.0100.07014.53
5.3.110.0070.04314.54
5.3.100.0070.08013.90
5.3.90.0100.07014.02
5.3.80.0030.06713.79
5.3.70.0000.06314.00
5.3.60.0030.03713.87
5.3.50.0030.03713.80
5.3.40.0030.03713.70
5.3.30.0030.03313.89
5.3.20.0030.04013.64
5.3.10.0000.03713.43
5.3.00.0000.04013.58
5.2.170.0000.03312.16
5.2.160.0000.03012.16
5.2.150.0070.02712.16
5.2.140.0000.03312.16
5.2.130.0030.03312.16
5.2.120.0000.02712.16
5.2.110.0000.02712.16
5.2.100.0000.03312.16
5.2.90.0000.03712.16
5.2.80.0000.03312.16
5.2.70.0000.03012.16
5.2.60.0000.03012.16
5.2.50.0130.02012.16
5.2.40.0030.02712.16
5.2.30.0030.03012.16
5.2.20.0030.02712.16
5.2.10.0030.03012.16
5.2.00.0070.02312.16
5.1.60.0030.02312.16
5.1.50.0030.02312.16
5.1.40.0030.03312.16
5.1.30.0000.04312.16
5.1.20.0030.02712.16
5.1.10.0000.04712.16
5.1.00.0030.03312.16
5.0.50.0000.02012.16
5.0.40.0100.04012.16
5.0.30.0030.05312.16
5.0.20.0070.03012.16
5.0.10.0000.04012.16
5.0.00.0030.07012.16
4.4.90.0000.01712.16
4.4.80.0000.01712.16
4.4.70.0000.01712.16
4.4.60.0030.01312.16
4.4.50.0030.01312.16
4.4.40.0070.02312.16
4.4.30.0000.03312.16
4.4.20.0030.02012.16
4.4.10.0070.01012.16
4.4.00.0030.02012.16
4.3.110.0000.01712.16
4.3.100.0000.02012.16
4.3.90.0000.01712.16
4.3.80.0070.04012.16
4.3.70.0000.02712.16
4.3.60.0030.01312.16
4.3.50.0000.02712.16
4.3.40.0000.02312.16
4.3.30.0030.01712.16
4.3.20.0000.01712.16
4.3.10.0000.01712.16
4.3.00.0000.01312.16

preferences:
30.07 ms | 401 KiB | 5 Q