3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $hash = password_hash("abc\0defghijklmnop", PASSWORD_DEFAULT); var_dump(password_verify("abc", $hash));

Here you find the average performance (time & memory) of each version. A greyed out version indicates it didn't complete successfully (based on exit-code).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.1.70.0030.12517.09
7.1.60.0070.13419.19
7.1.00.0070.23722.28
7.0.200.0000.13016.66
7.0.60.0170.13319.91
7.0.50.0030.23317.84
7.0.40.0070.21320.04
7.0.30.0030.23320.20
7.0.20.0000.17020.23
7.0.10.0030.17020.13
7.0.00.0070.22320.28
5.6.280.0070.23320.92
5.6.210.0030.22320.54
5.6.200.0070.18718.14
5.6.190.0100.21720.77
5.6.180.0200.20020.41
5.6.170.0100.19720.63
5.6.160.0030.16720.57
5.6.150.0070.22020.37
5.6.140.0070.23020.44
5.6.130.0000.22020.17
5.6.120.0100.22320.43
5.6.110.0130.20720.51
5.6.100.0130.21320.31
5.6.90.0100.22720.31
5.6.80.0030.17019.72
5.6.70.0070.18019.74
5.6.60.0000.16719.75
5.6.50.0100.21719.84
5.6.40.0070.20719.59
5.6.30.0070.23319.69
5.6.20.0070.21319.53
5.6.10.0100.21019.52
5.6.00.0070.22319.51
5.5.350.2930.14320.32
5.5.340.0000.23017.99
5.5.330.0000.21320.06
5.5.320.0070.17020.41
5.5.310.0070.16320.37
5.5.300.0070.18020.03
5.5.290.0030.23720.07
5.5.280.0030.21720.21
5.5.270.0000.16719.96
5.5.260.0030.19720.19
5.5.250.0100.19719.98
5.5.240.0100.22319.36
5.5.230.0130.22019.61
5.5.220.0070.22319.34
5.5.210.0100.22019.57
5.5.200.0100.17719.52
5.5.190.0030.24019.58
5.5.180.0100.20019.52
5.5.160.0100.16019.31
5.5.150.0030.18019.67
5.5.140.0130.21019.33
5.5.130.0130.21719.60
5.5.120.0000.19719.52
5.5.110.0030.18019.52
5.5.100.0070.22319.24
5.5.90.0070.16319.28
5.5.80.0070.22719.41
5.5.70.0070.16019.36
5.5.60.0070.22719.41
5.5.50.0100.21719.41
5.5.40.0100.22019.47
5.5.30.0030.18319.32
5.5.20.0130.22019.37
5.5.10.0070.21019.30
5.5.00.0100.17719.53
5.4.450.0100.05019.51
5.4.440.0030.08719.40
5.4.430.0070.03719.41
5.4.420.0100.07019.10
5.4.410.0100.07319.20
5.4.400.0030.07019.14
5.4.390.0070.05318.96
5.4.380.0030.08019.17
5.4.370.0030.06718.80
5.4.360.0100.07019.14
5.4.350.0030.08019.08
5.4.340.0030.07718.80
5.4.320.0130.07719.18
5.4.310.0100.07319.18
5.4.300.0000.04319.19
5.4.290.0100.03019.08
5.4.280.0030.04018.79
5.4.270.0070.03719.18
5.4.260.0070.03719.15
5.4.250.0130.07318.80
5.4.240.0070.06718.78
5.4.230.0100.07319.13
5.4.220.0130.07019.07
5.4.210.0000.06018.80
5.4.200.0130.06019.17
5.4.190.0100.07318.78
5.4.180.0000.04318.78
5.4.170.0000.04318.99
5.4.160.0030.05719.13
5.4.150.0030.04018.89
5.4.140.0070.07316.21
5.4.130.0070.07316.32
5.4.120.0100.08016.16
5.4.110.0130.05716.32
5.4.100.0070.04716.23
5.4.90.0170.04716.34
5.4.80.0030.04316.35
5.4.70.0030.03716.27
5.4.60.0100.03016.36
5.4.50.0100.04316.34
5.4.40.0000.04316.32
5.4.30.0130.07016.24
5.4.20.0030.03716.22
5.4.10.0130.06716.22
5.4.00.0030.04015.63
5.3.290.0070.07014.61
5.3.280.0130.07014.41
5.3.270.0070.07014.52
5.3.260.0000.05014.56
5.3.250.0030.04314.54
5.3.240.0070.03714.54
5.3.230.0130.07314.53
5.3.220.0170.06014.48
5.3.210.0070.05314.46
5.3.200.0070.07714.46
5.3.190.0130.07714.48
5.3.180.0030.04014.54
5.3.170.0070.04314.38
5.3.160.0030.04314.64
5.3.150.0070.03714.64
5.3.140.0030.04014.63
5.3.130.0070.05014.51
5.3.120.0030.04714.47
5.3.110.0100.04714.63
5.3.100.0030.08314.12
5.3.90.0030.04313.99
5.3.80.0000.08013.95
5.3.70.0030.07713.83
5.3.60.0070.07013.84
5.3.50.0030.08013.88
5.3.40.0000.04013.88
5.3.30.0000.07713.71
5.3.20.0000.07713.61
5.3.10.0100.06313.61
5.3.00.0070.07013.46
5.2.170.0070.03711.09
5.2.160.0100.02311.02
5.2.150.0070.02711.11
5.2.140.0100.05711.22
5.2.130.0030.05011.25
5.2.120.0030.06310.98
5.2.110.0100.05311.18
5.2.100.0100.04311.06
5.2.90.0000.04011.18
5.2.80.0070.03711.08
5.2.70.0130.05310.99
5.2.60.0030.06310.98
5.2.50.0000.06310.86
5.2.40.0070.06310.87
5.2.30.0070.06010.89
5.2.20.0030.06310.96
5.2.10.0030.03010.86
5.2.00.0030.02710.75
5.1.60.0030.02310.06
5.1.50.0100.04310.05
5.1.40.0030.0539.92
5.1.30.0130.04310.23
5.1.20.0100.05310.34
5.1.10.0100.0509.97
5.1.00.0030.04710.06
5.0.50.0000.0408.46
5.0.40.0000.0478.40
5.0.30.0000.0438.38
5.0.20.0030.0308.16
5.0.10.0030.0338.14
5.0.00.0030.0538.14
4.4.90.0030.0337.52
4.4.80.0000.0337.52
4.4.70.0070.0337.52
4.4.60.0000.0337.52
4.4.50.0070.0337.52
4.4.40.0000.0537.52
4.4.30.0000.0377.52
4.4.20.0070.0207.52
4.4.10.0030.0277.52
4.4.00.0000.0607.52
4.3.110.0030.0377.52
4.3.100.0000.0337.52
4.3.90.0030.0177.52
4.3.80.0030.0537.52
4.3.70.0000.0337.52
4.3.60.0070.0307.52
4.3.50.0030.0337.52
4.3.40.0000.0507.52
4.3.30.0030.0377.52
4.3.20.0030.0237.52
4.3.10.0000.0207.52
4.3.00.0030.0337.52