3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class First extends Second{} class Second extends Third{} class Fourth {} class Third{}
based on tInfU

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.3.10.0030.01016.70
7.3.00.0040.00916.49
7.2.130.0030.01216.66
7.2.120.0060.01016.73
7.2.110.0110.00716.69
7.2.100.0050.00516.85
7.2.90.0060.00816.83
7.2.80.0070.00816.84
7.2.70.0050.01016.58
7.2.60.0070.00616.78
7.2.50.0080.00616.54
7.2.40.0070.00616.44
7.2.30.0030.00816.61
7.2.20.0120.00516.81
7.2.10.0060.00616.64
7.2.00.0060.01217.56
7.1.250.0020.01215.54
7.1.240.0000.01615.66
7.1.230.0070.00715.71
7.1.220.0030.00915.39
7.1.210.0120.00415.60
7.1.200.0030.01115.59
7.1.190.0030.00915.35
7.1.180.0030.01015.52
7.1.170.0110.00315.59
7.1.160.0070.00715.55
7.1.150.0130.00315.74
7.1.140.0070.00315.15
7.1.130.0100.00315.38
7.1.120.0130.00315.40
7.1.110.0030.01215.44
7.1.100.0110.00315.13
7.1.90.0080.00415.66
7.1.80.0110.00315.82
7.1.70.0070.00516.09
7.1.60.0060.00916.32
7.1.50.0070.00516.20
7.1.40.0070.00715.45
7.1.30.0040.00715.61
7.1.20.0100.00015.51
7.1.10.0070.00415.57
7.1.00.0040.04219.01
7.0.330.0080.00415.27
7.0.320.0050.00515.31
7.0.310.0060.00615.41
7.0.300.0090.00315.16
7.0.290.0140.00015.22
7.0.280.0060.00915.21
7.0.270.0080.00415.24
7.0.260.0090.00515.02
7.0.250.0110.00315.23
7.0.240.0070.00715.31
7.0.230.0070.00715.35
7.0.220.0060.01015.41
7.0.210.0130.00315.13
7.0.200.0030.00815.90
7.0.190.0000.01015.30
7.0.180.0030.00715.25
7.0.170.0040.01115.15
7.0.160.0030.00715.32
7.0.150.0070.00315.17
7.0.140.0020.02418.57
7.0.130.0040.00815.04
7.0.120.0100.00315.45
7.0.110.0040.00415.41
7.0.100.0000.01215.47
7.0.90.0060.01015.33
7.0.80.0090.00315.40
7.0.70.0220.00615.27
7.0.60.0130.02517.72
7.0.50.0090.03416.54
7.0.40.0090.02916.61
7.0.30.0180.03716.82
7.0.20.0170.01716.88
7.0.10.0120.04216.68
7.0.00.0070.04716.82
hhvm-3.22.00.0580.12690.91
hhvm-3.21.30.0530.12690.59
hhvm-3.21.00.0500.14690.46
hhvm-3.20.20.0700.13790.85
hhvm-3.19.20.0540.13289.49
hhvm-3.18.50.0660.11288.96
hhvm-3.18.40.0570.12788.73
hhvm-3.17.30.0600.11688.04
hhvm-3.15.40.0400.12285.79
hhvm-3.13.20.0470.13596.92
hhvm-3.12.140.0560.12496.27
hhvm-3.11.10.0500.12487.82
hhvm-3.10.10.0540.12484.62
5.6.380.0110.00014.50
5.6.370.0000.00914.27
5.6.360.0030.01113.83
5.6.350.0030.00714.15
5.6.340.0060.00613.89
5.6.330.0030.01014.04
5.6.320.0000.01014.30
5.6.310.0070.00714.23
5.6.300.0130.00013.90
5.6.290.0060.00914.24
5.6.280.0100.03317.62
5.6.270.0030.00714.05
5.6.260.0070.00314.04
5.6.250.0030.00714.17
5.6.240.0040.00814.09
5.6.230.0030.00613.85
5.6.220.0070.01014.09
5.6.210.0090.03717.21
5.6.200.0120.04015.97
5.6.190.0050.03317.23
5.6.180.0230.03016.98
5.6.170.0130.04717.32
5.6.160.0100.03717.18
5.6.150.0030.04516.00
5.6.140.0040.04016.04
5.6.130.0040.03116.15
5.6.120.0070.04517.55
5.6.110.0050.05017.56
5.6.100.0080.03017.41
5.6.90.0030.04017.34
5.6.80.0070.02317.31
5.6.70.0000.01614.05
5.6.60.0030.01013.79
5.6.50.0030.01013.98
5.6.40.0030.01313.95
5.6.30.0070.00313.58
5.6.20.0110.00413.97
5.6.10.0080.00414.02
5.6.00.0080.00414.22
5.5.380.0050.00510.68
5.5.370.0030.00611.02
5.5.360.0030.00310.96
5.5.350.0120.04615.65
5.5.340.0080.01814.25
5.5.330.0070.02215.54
5.5.320.0070.04215.82
5.5.310.0090.02315.50
5.5.300.0030.04014.59
5.5.290.0020.02414.40
5.5.280.0070.03015.96
5.5.270.0050.04215.79
5.5.260.0060.04615.86
5.5.250.0110.04015.63
5.5.240.0080.04215.54
5.5.230.0060.00010.98
5.5.220.0000.00810.57
5.5.210.0040.00810.99
5.5.200.0090.00310.56
5.5.190.0040.00410.90
5.5.180.0060.00311.03
5.5.170.0030.00610.90
5.5.160.0030.00610.68
5.5.150.0030.00710.98
5.5.140.0040.00410.83
5.5.130.0040.00910.48
5.5.120.0040.00410.76
5.5.110.0030.00610.95
5.5.100.0060.00310.61
5.5.90.0090.00310.94
5.5.80.0040.00410.71
5.5.70.0090.00310.48
5.5.60.0070.00310.94
5.5.50.0100.00210.75
5.5.40.0030.00910.69
5.5.30.0060.00610.39
5.5.20.0030.00610.68
5.5.10.0040.00810.94
5.5.00.0110.00010.67
5.4.450.0350.02715.19
5.4.440.0450.03015.15
5.4.430.0490.02315.10
5.4.420.0380.02715.10
5.4.410.0450.03214.92
5.4.400.0370.03014.84
5.4.390.0120.03314.58
5.4.380.0100.03614.58
5.4.370.0180.02514.59
5.4.360.0170.02414.62
5.4.350.0070.03514.61
5.4.340.0100.03014.61
5.4.330.0030.00710.80
5.4.320.0120.03014.74
5.4.310.0150.02814.45
5.4.300.0230.02714.67
5.4.290.0180.03514.79
5.4.280.0120.03014.59
5.4.270.0100.03114.49
5.4.260.0150.02514.61
5.4.250.0140.04014.77
5.4.240.0120.04014.82
5.4.230.0160.03514.57
5.4.220.0180.03714.65
5.4.210.0140.03914.57
5.4.200.0070.04613.61
5.4.190.0180.03814.65
5.4.180.0180.02814.75
5.4.170.0170.03214.66
5.4.160.0080.03114.58
5.4.150.0100.03114.48
5.4.140.0080.03513.64
5.4.130.0170.02513.58
5.4.120.0110.03113.59
5.4.110.0100.03313.55
5.4.100.0210.02113.52
5.4.90.0200.02313.53
5.4.80.0170.02213.41
5.4.70.0120.03113.48
5.4.60.0100.02613.58
5.4.50.0180.02013.62
5.4.40.0130.02913.48
5.4.30.0080.03013.32
5.4.20.0120.03213.42
5.4.10.0100.03113.37
5.4.00.0100.02913.29
5.3.290.0100.03212.60
5.3.280.0150.03712.39
5.3.270.0200.03812.43
5.3.260.0150.04112.55
5.3.250.0180.03712.48
5.3.240.0090.03312.53
5.3.230.0170.02512.53
5.3.220.0170.02412.38
5.3.210.0100.03312.47
5.3.200.0080.03412.45
5.3.190.0160.03112.49
5.3.180.0130.02612.60
5.3.170.0120.02912.51
5.3.160.0100.02712.52
5.3.150.0120.02712.58
5.3.140.0130.02512.41
5.3.130.0200.02412.53
5.3.120.0220.03112.49
5.3.110.0220.03012.47
5.3.100.0100.03912.22
5.3.90.0100.03812.13
5.3.80.0150.02312.08
5.3.70.0150.02512.23
5.3.60.0170.02712.22
5.3.50.0130.03012.14
5.3.40.0080.03212.21
5.3.30.0160.02512.06
5.3.20.0150.03611.91
5.3.10.0200.03211.84
5.3.00.0150.03811.86
5.2.170.0170.02910.60
5.2.160.0080.03210.61
5.2.150.0120.03010.60
5.2.140.0150.02810.65
5.2.130.0110.02710.58
5.2.120.0150.02310.55
5.2.110.0130.02010.58
5.2.100.0090.02210.54
5.2.90.0140.02610.55
5.2.80.0140.01810.62
5.2.70.0070.02510.58
5.2.60.0120.02210.60
5.2.50.0080.02510.51
5.2.40.0080.02110.50
5.2.30.0110.02810.47
5.2.20.0120.02510.48
5.2.10.0080.03110.40
5.2.00.0020.02910.34
5.1.60.0100.0239.99
5.1.50.0120.0229.99
5.1.40.0050.0219.97
5.1.30.0090.01810.25
5.1.20.0100.02010.15
5.1.10.0070.02110.05
5.1.00.0100.02210.03
5.0.50.0070.0159.26
5.0.40.0050.0169.20
5.0.30.0050.0259.18
5.0.20.0050.0159.14
5.0.10.0090.0099.13
5.0.00.0070.0229.11
4.4.90.0050.0127.94
4.4.80.0080.0137.92
4.4.70.0070.0157.93
4.4.60.0100.0137.96
4.4.50.0070.0187.93
4.4.40.0070.0257.96
4.4.30.0070.0107.92
4.4.20.0050.0138.01
4.4.10.0050.0137.97
4.4.00.0030.0247.95
4.3.110.0070.0137.88
4.3.100.0090.0107.88
4.3.90.0050.0187.89
4.3.80.0050.0197.87
4.3.70.0050.0157.88
4.3.60.0050.0127.92
4.3.50.0030.0157.87
4.3.40.0030.0207.91
4.3.30.0070.0137.41
4.3.20.0030.0137.41
4.3.10.0010.0157.41
4.3.00.0120.02012.27