3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = "Madara is Awesome!"; $hash = password_hash($password, PASSWORD_BCRYPT, ["salt" => "MadaraIsBawsNeeds22Chars"]); //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.0130.12315.00
7.4.00.0070.14014.68
7.3.130.0000.14414.69
7.3.120.0100.13614.64
7.3.110.0050.13714.75
7.3.100.0050.13414.82
7.3.90.0070.13114.77
7.3.80.0020.13714.76
7.3.70.0020.13314.49
7.3.60.0080.12614.66
7.3.50.0020.13314.73
7.3.40.0030.13114.54
7.3.30.0020.13814.51
7.3.20.0070.12916.50
7.3.10.0050.12916.57
7.3.00.0050.13216.47
7.2.260.0100.13814.69
7.2.250.0050.13914.65
7.2.240.0100.13214.43
7.2.230.0030.13615.11
7.2.220.0050.13315.12
7.2.210.0030.13314.99
7.2.200.0050.12914.85
7.2.190.0080.13214.80
7.2.180.0000.14014.89
7.2.170.0020.13214.59
7.2.160.0050.13414.71
7.2.150.0030.13516.84
7.2.140.0100.12716.58
7.2.130.0070.13616.87
7.2.120.0020.13516.63
7.2.110.0030.13116.79
7.2.100.0080.12716.59
7.2.90.0020.13416.60
7.2.80.0050.13216.76
7.2.70.0060.13216.84
7.2.60.0040.12816.71
7.2.50.0070.13016.66
7.2.40.0080.12716.64
7.2.30.0080.13416.81
7.2.20.0050.13316.81
7.2.10.0080.13016.72
7.2.00.0030.13817.56
7.1.330.0070.13215.60
7.1.320.0050.13015.60
7.1.310.0070.12515.75
7.1.300.0050.13015.79
7.1.290.0030.13315.63
7.1.280.0050.12815.73
7.1.270.0030.13615.50
7.1.260.0030.13715.67
7.1.250.0050.13315.62
7.1.240.0070.12815.75
7.1.230.0070.12915.73
7.1.220.0070.12815.61
7.1.210.0100.12815.58
7.1.200.0030.13415.66
7.1.190.0000.13315.59
7.1.180.0030.13415.59
7.1.170.0050.13115.84
7.1.160.0030.12915.76
7.1.150.0050.13715.81
7.1.140.0030.13215.72
7.1.130.0030.13115.65
7.1.120.0050.12915.50
7.1.110.0050.12915.79
7.1.100.0060.12816.55
7.1.90.0030.12915.84
7.1.80.0030.12515.58
7.1.70.0080.12516.20
7.1.60.0050.15316.79
7.1.50.0100.12716.02
7.1.40.0030.13215.49
7.1.30.0030.13115.81
7.1.20.0070.12915.60
7.1.10.0050.12715.83
7.1.00.0080.15717.99
7.0.330.0020.13615.36
7.0.320.0020.13515.22
7.0.310.0070.13315.15
7.0.300.0030.13415.26
7.0.290.0030.12915.27
7.0.280.0030.13615.14
7.0.270.0070.12215.28
7.0.260.0070.13115.25
7.0.250.0030.13215.30
7.0.240.0020.13515.47
7.0.230.0020.13615.44
7.0.220.0050.13115.27
7.0.210.0020.13315.33
7.0.200.0020.13215.76
7.0.190.0050.12715.40
7.0.180.0030.13215.04
7.0.170.0050.13215.29
7.0.160.0030.12915.20
7.0.150.0030.12915.30
7.0.140.0020.16217.45
7.0.130.0020.13615.33
7.0.120.0080.12615.46
7.0.110.0070.13115.39
7.0.100.0050.12715.35
7.0.90.0070.12515.20
7.0.80.0070.13315.36
7.0.70.0050.12815.38
7.0.60.0090.13716.94
7.0.50.0030.14016.20
7.0.40.0040.14715.47
7.0.30.0100.14415.68
7.0.20.0110.14515.61
7.0.10.0070.15215.51
7.0.00.0060.15815.65
5.6.400.0020.13314.19
5.6.390.0030.13414.30
5.6.380.0070.12914.15
5.6.370.0000.13914.08
5.6.360.0000.13514.51
5.6.350.0050.13114.41
5.6.340.0030.13214.32
5.6.330.0060.13114.08
5.6.320.0070.12914.37
5.6.310.0030.13214.01
5.6.300.0030.13114.14
5.6.290.0050.13414.19
5.6.280.0060.16616.52
5.6.270.0050.13114.04
5.6.260.0020.12814.17
5.6.250.0020.12914.37
5.6.240.0030.13714.36
5.6.230.0020.13314.25
5.6.220.0020.13314.04
5.6.210.0060.16516.29
5.6.200.0070.15915.41
5.6.190.0040.14116.28
5.6.180.0070.16116.31
5.6.170.0070.14116.35
5.6.160.0020.15416.25
5.6.150.0080.15515.37
5.6.140.0030.16715.49
5.6.130.0080.15715.59
5.6.120.0060.15116.48
5.6.110.0030.15516.35
5.6.100.0070.16116.53
5.6.90.0060.15916.45
5.6.80.0060.15016.17
5.6.70.0030.12814.03
5.6.60.0070.13114.14
5.6.50.0030.13414.21
5.6.40.0030.13413.93
5.6.30.0030.12914.23
5.6.20.0020.13113.95
5.6.10.0030.12914.09
5.6.00.0030.12814.07
5.5.380.0030.13314.27
5.5.370.0080.12314.11
5.5.360.0050.12914.44
5.5.350.0040.15116.16
5.5.340.0030.14915.41
5.5.330.0060.13916.35
5.5.320.0120.15716.16
5.5.310.0160.15016.17
5.5.300.0080.16015.48
5.5.290.0080.14615.42
5.5.280.0060.14216.31
5.5.270.0060.15816.31
5.5.260.0040.16116.42
5.5.250.0160.15716.20
5.5.240.0060.15816.16
5.5.230.0050.12814.09
5.5.220.0030.13014.16
5.5.210.0050.13014.03
5.5.200.0050.13113.96
5.5.190.0000.13214.09
5.5.180.0050.12514.25
5.5.170.0030.12714.06
5.5.160.0030.12914.01
5.5.150.0020.13014.00
5.5.140.0030.13014.22
5.5.130.0070.12414.09
5.5.120.0080.12614.03
5.5.110.0080.13413.97
5.5.100.0030.13213.81
5.5.90.0070.12814.01
5.5.80.0020.13514.10
5.5.70.0030.13114.00
5.5.60.0050.13214.07
5.5.50.0000.13213.97
5.5.40.0070.13114.18
5.5.30.0030.13514.08
5.5.20.0030.13014.16
5.5.10.0030.12914.10
5.5.00.0050.12713.97
5.4.450.0590.01414.29
5.4.440.0570.01714.31
5.4.430.0550.02014.40
5.4.420.0570.01714.37
5.4.410.0570.01314.31
5.4.400.0580.01614.16
5.4.390.0050.01514.21
5.4.380.0050.01514.26
5.4.370.0260.01514.24
5.4.360.0590.01714.27
5.4.350.0570.01714.27
5.4.340.0550.01714.26
5.4.330.0030.00611.85
5.4.320.0560.01714.27
5.4.310.0550.01514.25
5.4.300.0540.01314.30
5.4.290.0600.01914.29
5.4.280.0540.01414.29
5.4.270.0580.01614.25
5.4.260.0530.01514.24
5.4.250.0430.01314.27
5.4.240.0030.01714.25
5.4.230.0220.01714.24
5.4.220.0460.01814.24
5.4.210.0490.01414.27
5.4.200.0460.01614.25
5.4.190.0510.01914.18
5.4.180.0600.01914.19
5.4.170.0550.01614.29
5.4.160.0510.01514.25
5.4.150.0560.01614.18
5.4.140.0570.01513.42
5.4.130.0580.01713.31
5.4.120.0580.01413.31
5.4.110.0540.01513.36
5.4.100.0660.01813.40
5.4.90.0630.01813.36
5.4.80.0670.01513.36
5.4.70.0600.02213.30
5.4.60.0590.01313.29
5.4.50.0630.01913.35
5.4.40.0640.01713.28
5.4.30.0680.01413.38
5.4.20.0610.01613.29
5.4.10.0640.01713.32
5.4.00.0710.00913.13
5.3.290.0630.01712.73
5.3.280.0590.01312.77
5.3.270.0530.01812.71
5.3.260.0580.01812.77
5.3.250.0600.01712.74
5.3.240.0600.01912.77
5.3.230.0520.02012.72
5.3.220.0630.01712.69
5.3.210.0540.01712.73
5.3.200.0680.01812.69
5.3.190.0580.01712.71
5.3.180.0640.02212.69
5.3.170.0650.01912.69
5.3.160.0670.01712.69
5.3.150.0560.01812.69
5.3.140.0600.01412.71
5.3.130.0610.01812.73
5.3.120.0670.02012.72
5.3.110.0560.01612.77
5.3.100.0660.01812.54
5.3.90.0630.01712.54
5.3.80.0590.01812.55
5.3.70.0580.01812.58
5.3.60.0610.01912.51
5.3.50.0600.01712.47
5.3.40.0610.01312.48
5.3.30.0580.01412.49
5.3.20.0580.01412.38
5.3.10.0600.01512.42
5.3.00.0570.01612.43
5.2.170.1600.03711.05
5.2.160.1600.02711.16
5.2.150.1370.03311.17
5.2.140.1500.03711.29
5.2.130.1400.03011.14
5.2.120.1570.03711.11
5.2.110.1730.03011.17
5.2.100.1630.03311.26
5.2.90.1830.02010.95
5.2.80.1630.04310.94
5.2.70.1430.02711.17
5.2.60.1430.02711.09
5.2.50.1500.03710.86
5.2.40.1370.02710.88
5.2.30.1130.03710.91
5.2.20.1500.03310.79
5.2.10.1070.03010.77
5.2.00.1330.03710.68
5.1.60.1370.0239.97
5.1.50.1370.0339.97
5.1.40.1270.0309.90
5.1.30.1230.03310.35
5.1.20.1270.03010.36
5.1.10.1330.03310.15
5.1.00.1130.02010.08
5.0.50.0730.0308.54
5.0.40.0630.0208.53
5.0.30.0630.0508.15
5.0.20.0630.0208.15
5.0.10.0700.0278.29
5.0.00.0700.0438.16
4.4.90.0670.0178.15
4.4.80.0630.0178.15
4.4.70.0670.0138.15
4.4.60.0730.0208.15
4.4.50.0630.0178.15
4.4.40.0730.0308.15
4.4.30.0670.0138.15
4.4.20.0600.0238.15
4.4.10.0700.0108.15
4.4.00.0730.0378.15
4.3.110.0730.0208.15
4.3.100.0730.0278.15
4.3.90.0600.0208.15
4.3.80.0670.0408.15
4.3.70.0600.0208.15
4.3.60.0570.0178.15
4.3.50.0570.0278.15
4.3.40.0730.0338.15
4.3.30.0330.0238.15
4.3.20.0370.0278.15
4.3.10.0300.0138.15
4.3.00.0330.0178.15

preferences:
40.94 ms | 400 KiB | 5 Q