3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new class {public $b;}; $b = clone $a; $a->b = $b; $b->b = $a; var_dump($a == $b);

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.20.1270.00614.63
7.3.10.1480.00714.68
7.3.00.0890.00614.71
7.2.150.1530.00714.90
7.2.140.1430.00515.01
7.2.130.0570.00514.99
7.2.120.0640.00615.02
7.2.110.0500.00615.06
7.2.100.0570.00715.01
7.2.90.0670.00615.00
7.2.80.0710.00814.97
7.2.70.0670.00515.08
7.2.60.0660.00414.98
7.2.50.0760.00815.04
7.2.40.0670.00814.97
7.2.30.0660.00815.06
7.2.20.0640.00615.04
7.2.10.0590.00814.92
7.2.00.0570.00614.96
7.1.250.0780.00513.79
7.1.240.0590.00713.73
7.1.230.0670.00713.66
7.1.220.0610.00313.76
7.1.210.0780.00713.79
7.1.200.0710.00713.86
7.1.190.0600.00013.77
7.1.180.0630.00613.59
7.1.170.0850.01313.93
7.1.160.0590.00313.88
7.1.150.0680.00713.77
7.1.140.0570.01013.70
7.1.130.0620.00713.79
7.1.120.0490.01313.69
7.1.110.0620.01013.65
7.1.100.0700.01013.63
7.1.90.0640.01114.00
7.1.80.0760.00313.62
7.1.70.0740.00313.54
7.1.60.0670.01014.07
7.1.50.0930.00313.77
7.1.40.0850.01313.58
7.1.30.0940.01013.53
7.1.20.0850.01013.94
7.1.10.1140.00714.04
7.1.00.0780.00413.77
7.0.330.0610.00713.20
7.0.320.0680.00013.68
7.0.310.0730.00313.46
7.0.300.0670.00413.54
7.0.290.0560.00713.45
7.0.280.0510.00713.13
7.0.270.0660.00713.74
7.0.260.0730.00313.38
7.0.250.0720.00313.53
7.0.240.0960.00613.41
7.0.230.0570.00313.69
7.0.220.0700.01013.44
7.0.210.1060.00313.66
7.0.200.0800.00713.54
7.0.190.0770.00013.45
7.0.180.0950.00713.56
7.0.170.0790.00313.70
7.0.160.0860.01013.64
7.0.150.0870.00013.51
7.0.140.0690.00713.22
7.0.130.0830.00713.64
7.0.120.0690.00313.70
7.0.110.0890.00313.52
7.0.100.0650.00713.36
7.0.90.0950.01013.45
7.0.80.0670.01313.67
7.0.70.0980.00713.73
7.0.60.0830.00713.32
7.0.50.0850.00713.71
7.0.40.0510.01013.66
7.0.30.0480.00713.42
7.0.20.0550.00313.00
7.0.10.2030.00313.23
7.0.00.0480.00313.09
hhvm-3.22.00.1010.203101.79
hhvm-3.21.30.1070.235101.70
hhvm-3.21.00.0790.220101.66
hhvm-3.20.20.1030.126102.96
hhvm-3.19.20.1010.134102.02
hhvm-3.18.50.0930.123101.71
hhvm-3.18.40.0760.143101.72
hhvm-3.17.30.1320.18799.80
hhvm-3.15.40.0870.09095.99
hhvm-3.13.20.1230.160107.53
hhvm-3.12.140.1570.223106.45
hhvm-3.11.10.1650.12798.14
hhvm-3.10.10.1150.16584.80
5.6.380.0060.00614.28
5.6.370.0170.00514.09
5.6.360.0180.01814.15
5.6.350.0260.01114.28
5.6.340.0160.01214.21
5.6.330.0180.00413.88
5.6.320.0180.00713.99
5.6.310.0140.01514.22
5.6.300.0120.00913.68
5.6.290.0050.00914.34
5.6.280.0080.01013.83
5.6.270.0090.01813.89
5.6.260.0160.01014.03
5.6.250.0080.00814.03
5.6.240.0120.00414.09
5.6.230.0100.01314.06
5.6.220.0150.00313.96
5.6.210.0130.01014.14
5.6.200.0050.01414.05
5.6.190.0090.00914.14
5.6.180.0180.00414.12
5.6.170.0190.01113.86
5.6.160.0120.01514.05
5.6.150.0280.00414.04
5.6.140.0200.00613.96
5.6.130.0090.00914.16
5.6.120.0100.01714.01
5.6.110.0190.00713.93
5.6.100.0180.01213.87
5.6.90.0120.01214.05
5.6.80.0140.00313.99
5.6.70.0100.00713.96
5.6.60.0160.00613.86
5.6.50.0080.01313.81
5.6.40.0140.01113.84
5.6.30.0070.01513.95
5.6.20.0230.00814.07
5.6.10.0070.01713.91
5.6.00.0150.00613.82
5.5.380.0110.00411.02
5.5.370.0220.00010.88
5.5.360.0080.00610.89
5.5.350.0150.00610.79
5.5.340.0070.00711.08
5.5.330.0050.00910.77
5.5.320.0080.01311.02
5.5.310.0040.00810.86
5.5.300.0140.00910.86
5.5.290.0120.00010.88
5.5.280.0090.00310.98
5.5.270.0150.00310.88
5.5.260.0160.00610.97
5.5.250.0090.00910.65
5.5.240.0050.00710.54
5.5.230.0120.01210.47
5.5.220.0120.00010.85
5.5.210.0100.00310.89
5.5.200.0060.00610.71
5.5.190.0080.00310.72
5.5.180.0140.00610.56
5.5.170.0120.00410.69
5.5.160.0120.00410.78
5.5.150.0080.00310.91
5.5.140.0060.00610.94
5.5.130.0070.00710.88
5.5.120.0120.00010.93
5.5.110.0070.01110.81
5.5.100.0100.00710.45
5.5.90.0090.00410.90
5.5.80.0080.01110.47
5.5.70.0050.01910.91
5.5.60.0080.01110.93
5.5.50.0120.00010.86
5.5.40.0080.00510.85
5.5.30.0080.00810.67
5.5.20.0140.00910.75
5.5.10.0150.00610.70
5.5.00.0130.00310.68
5.4.450.0130.00510.75
5.4.440.0060.00610.82
5.4.430.0170.00610.94
5.4.420.0090.01310.84
5.4.410.0180.00010.41
5.4.400.0070.01110.67
5.4.390.0160.00310.58
5.4.380.0070.00310.39
5.4.370.0160.00010.91
5.4.360.0040.00810.64
5.4.350.0080.00810.70
5.4.340.0040.00810.77
5.4.330.0130.00710.75
5.4.320.0150.00010.57
5.4.310.0050.00510.92
5.4.300.0100.00510.92
5.4.290.0060.00410.61
5.4.280.0000.01210.96
5.4.270.0080.00510.68
5.4.260.0090.00910.74
5.4.250.0130.00310.71
5.4.240.0060.01210.46
5.4.230.0150.00610.79
5.4.220.0050.01110.54
5.4.210.0100.00310.67
5.4.200.0000.01210.59
5.4.190.0080.00510.53
5.4.180.0160.00010.69
5.4.170.0070.01110.78
5.4.160.0120.00410.75
5.4.150.0130.00710.50
5.4.140.0190.00010.75
5.4.130.0120.00810.73
5.4.120.0070.00310.80
5.4.110.0060.00310.51
5.4.100.0160.00010.59
5.4.90.0120.00610.76
5.4.80.0040.00810.93
5.4.70.0060.00610.60
5.4.60.0070.00710.84
5.4.50.0210.00410.77
5.4.40.0070.00310.81
5.4.30.0060.00610.96
5.4.20.0090.00610.67
5.4.10.0130.00710.76
5.4.00.0040.01610.59
5.3.290.0130.00410.24
5.3.280.0100.00010.06
5.3.270.0120.00610.27
5.3.260.0180.00010.23
5.3.250.0200.00310.18
5.3.240.0110.00310.10
5.3.230.0120.00010.14
5.3.220.0090.00010.08
5.3.210.0130.0039.88
5.3.200.0060.0069.94
5.3.190.0090.0039.94
5.3.180.0100.01010.30
5.3.170.0100.00510.16
5.3.160.0080.00410.19
5.3.150.0070.00510.23
5.3.140.0060.00610.21
5.3.130.0110.0089.99
5.3.120.0070.01110.25
5.3.110.0110.00410.17
5.3.100.0100.00710.17
5.3.90.0130.00310.30
5.3.80.0080.01110.00
5.3.70.0120.00610.15
5.3.60.0090.00910.05
5.3.50.0070.0059.91
5.3.40.0070.01310.12
5.3.30.0170.00610.13
5.3.20.0030.00810.13
5.3.10.0070.0079.95
5.3.00.0070.0079.93
5.2.170.0080.0089.03
5.2.160.0120.0069.30
5.2.150.0090.0069.07
5.2.140.0050.0119.09
5.2.130.0070.0059.18
5.2.120.0090.0008.95
5.2.110.0100.0039.24
5.2.100.0060.0069.20
5.2.90.0090.0069.22
5.2.80.0180.0039.21
5.2.70.0050.0058.88
5.2.60.0050.0149.09
5.2.50.0110.0049.12
5.2.40.0070.0079.23
5.2.30.0050.0109.09
5.2.20.0160.0009.03
5.2.10.0120.0098.79
5.2.00.0090.0058.83
5.1.60.0080.0038.26
5.1.50.0110.0008.26
5.1.40.0070.0028.44
5.1.30.0060.0008.27
5.1.20.0000.0068.30
5.1.10.0110.0038.35
5.1.00.0120.0028.26
5.0.50.0120.0048.26
5.0.40.0120.0008.26
5.0.30.0060.0068.26
5.0.20.0120.0008.26
5.0.10.0070.0078.26
5.0.00.0000.0078.26
4.4.90.0020.0028.26
4.4.80.0090.0028.26
4.4.70.0000.0118.26
4.4.60.0050.0038.26
4.4.50.0030.0068.26
4.4.40.0060.0038.26
4.4.30.0080.0038.26
4.4.20.0070.0048.26
4.4.10.0120.0008.26
4.4.00.0030.0038.26
4.3.110.0060.0008.26
4.3.100.0000.0068.26
4.3.90.0000.0048.26
4.3.80.0080.0008.26
4.3.70.0040.0008.26
4.3.60.0050.0008.26
4.3.50.0030.0038.26
4.3.40.0030.0038.26
4.3.30.0000.0068.26
4.3.20.0050.0008.26
4.3.10.0000.0058.26
4.3.00.0040.0008.26