3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(version_compare('5.7.0a5', '5.7.0') === version_compare('5.7.1', '5.7.0'));
based on ZlMrr

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).
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.0080.00016.84
7.1.60.0040.01119.12
7.1.50.0220.01634.60
7.1.00.0170.06722.37
7.0.200.0050.00316.80
7.0.140.0030.07321.92
7.0.110.0370.06719.89
7.0.100.0130.04319.89
7.0.90.0270.03719.84
7.0.80.0200.04319.82
7.0.70.0330.08019.80
7.0.60.0300.04320.03
7.0.50.0300.07019.90
7.0.40.0130.07319.68
7.0.30.0030.04019.61
7.0.20.0030.05019.80
7.0.10.0000.05719.74
7.0.00.0030.07019.60
5.6.280.0100.06721.04
5.6.260.0030.03720.52
5.6.250.0000.04020.67
5.6.240.0070.05020.61
5.6.230.0130.03720.57
5.6.220.0130.07020.48
5.6.210.0100.06720.50
5.6.200.0030.05020.57
5.6.190.0030.07320.52
5.6.180.0100.07320.57
5.6.170.0130.05320.52
5.6.160.0100.03720.57
5.6.150.0000.05020.63
5.6.140.0070.03720.62
5.6.130.0070.04320.63
5.6.120.0030.05320.65
5.6.110.0100.08020.62
5.6.100.0100.07320.54
5.6.90.0100.06020.55
5.6.80.0100.05319.96
5.6.70.0000.08019.86
5.6.60.0100.03019.89
5.6.50.0030.04320.02
5.6.40.0100.06319.98
5.6.30.0000.06020.00
5.6.20.0030.04319.93
5.6.10.0130.07019.92
5.6.00.0100.07319.86
5.5.380.0070.03317.63
5.5.370.0100.05017.46
5.5.360.0000.05017.48
5.5.350.0000.07717.62
5.5.340.0070.03718.16
5.5.330.0030.04317.77
5.5.320.0070.07318.09
5.5.310.0000.04318.12
5.5.300.0030.07017.89
5.5.290.0100.04318.10
5.5.280.0000.06318.12
5.5.270.0030.04318.00
5.5.260.0030.08018.09
5.5.250.0070.07717.80
5.5.240.0070.07717.25
5.5.230.0030.04017.39
5.5.220.0100.06317.22
5.5.210.0070.05317.24
5.5.200.0030.07317.20
5.5.190.0130.02717.45
5.5.180.0100.07317.51
5.5.160.0070.06017.51
5.5.150.0030.03717.25
5.5.140.0030.03717.50
5.5.130.0000.06717.21
5.5.120.0030.04017.48
5.5.110.0070.04017.19
5.5.100.0000.04017.41
5.5.90.0000.04017.41
5.5.80.0030.03717.38
5.5.70.0000.04317.13
5.5.60.0000.04017.36
5.5.50.0070.05317.27
5.5.40.0070.02717.40
5.5.30.0100.02317.13
5.5.20.0000.03317.36
5.5.10.0070.03017.42
5.5.00.0070.07717.50
5.4.450.0100.06319.43
5.4.440.0100.06019.39
5.4.430.0100.06719.24
5.4.420.0030.05019.28
5.4.410.0070.04719.41
5.4.400.0070.03019.00
5.4.390.0070.04718.92
5.4.380.0130.06319.06
5.4.370.0070.06019.11
5.4.360.0070.05018.88
5.4.350.0100.03018.95
5.4.340.0100.06718.94
5.4.320.0070.03318.84
5.4.310.0070.05318.94
5.4.300.0030.04018.89
5.4.290.0070.03719.21
5.4.280.0070.03318.93
5.4.270.0130.03018.91
5.4.260.0100.03718.94
5.4.250.0030.03718.87
5.4.240.0030.03718.90
5.4.230.0000.04319.09
5.4.220.0030.04718.93
5.4.210.0030.04018.91
5.4.200.0100.02318.84
5.4.190.0070.03019.04
5.4.180.0030.04319.20
5.4.170.0030.03018.98
5.4.160.0170.02719.01
5.4.150.0030.05018.91
5.4.140.0070.03016.29
5.4.130.0000.03316.13
5.4.120.0030.03016.30
5.4.110.0030.03316.10
5.4.100.0100.02316.10
5.4.90.0070.03016.11
5.4.80.0030.03016.27
5.4.70.0000.03016.21
5.4.60.0030.03016.30
5.4.50.0000.03316.20
5.4.40.0100.02316.10
5.4.30.0000.03716.38
5.4.20.0000.03316.14
5.4.10.0030.03016.17
5.4.00.0000.03715.81
5.3.290.0030.04714.45
5.3.280.0130.02714.59
5.3.270.0030.03014.46
5.3.260.0100.02314.43
5.3.250.0100.02314.67
5.3.240.0030.03014.52
5.3.230.0070.02714.59
5.3.220.0030.03014.62
5.3.210.0070.02714.41
5.3.200.0030.03014.66
5.3.190.0000.03314.39
5.3.180.0030.03014.43
5.3.170.0030.03014.40
5.3.160.0030.03014.62
5.3.150.0030.03014.42
5.3.140.0000.03314.48
5.3.130.0100.02714.44
5.3.120.0030.03714.54
5.3.110.0070.03014.61
5.3.100.0070.02713.91
5.3.90.0100.02713.86
5.3.80.0000.04313.91
5.3.70.0000.03313.84
5.3.60.0100.02313.84
5.3.50.0000.03314.01
5.3.40.0030.06013.86
5.3.30.0130.05013.76
5.3.20.0000.03713.69
5.3.10.0030.03013.72
5.3.00.0070.05713.42
5.2.170.0030.03011.08
5.2.160.0030.02711.13
5.2.150.0070.05711.06
5.2.140.0030.04711.19
5.2.130.0100.02011.03
5.2.120.0030.02711.16
5.2.110.0100.02311.04
5.2.100.0070.04711.12
5.2.90.0030.05311.16
5.2.80.0030.06711.03
5.2.70.0030.02711.01
5.2.60.0030.06011.00
5.2.50.0070.05010.94
5.2.40.0100.06010.89
5.2.30.0000.05011.14
5.2.20.0030.05710.86
5.2.10.0070.04710.84
5.2.00.0000.04710.70
5.1.60.0000.02310.14
5.1.50.0030.02310.04
5.1.40.0030.02710.14
5.1.30.0030.02310.22
5.1.20.0070.02010.42
5.1.10.0030.05310.23
5.1.00.0000.02310.31
5.0.50.0070.0379.51
5.0.40.0070.0379.51
5.0.30.0000.0309.51
5.0.20.0030.0179.51
5.0.10.0030.0279.51
5.0.00.0070.0239.51
4.4.90.0130.0239.51
4.4.80.0000.0179.51
4.4.70.0000.0339.51
4.4.60.0030.0339.51
4.4.50.0070.0209.51
4.4.40.0030.0279.51
4.4.30.0030.0139.51
4.4.20.0030.0139.51
4.4.10.0000.0179.51
4.4.00.0070.0609.51
4.3.110.0070.0139.51
4.3.100.0000.0139.51
4.3.90.0000.0139.51
4.3.80.0000.0239.51
4.3.70.0000.0179.51
4.3.60.0030.0239.51
4.3.50.0000.0209.51
4.3.40.0030.0209.51
4.3.30.0030.0309.51
4.3.20.0000.0309.51
4.3.10.0030.0109.51
4.3.00.0000.0139.51