3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function foo(...$args) { var_dump($args); } function gen() { yield 1.23 => 123; } foo(...gen());

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.00.0260.00515.46
7.2.130.0270.00615.71
7.2.120.0230.00715.77
7.2.110.0350.00315.54
7.2.100.0720.00815.78
7.2.90.0290.01015.62
7.2.80.0330.00715.83
7.2.70.0210.00616.02
7.2.60.0180.00815.82
7.2.50.0320.00815.90
7.2.40.0320.00915.82
7.2.30.0220.01015.88
7.2.20.0280.00915.72
7.2.10.0200.01215.65
7.2.00.0180.01015.91
7.1.250.0230.00614.77
7.1.240.0330.01613.88
7.1.230.0470.00913.96
7.1.220.0560.01013.55
7.1.210.0410.00313.70
7.1.200.0550.01013.68
7.1.190.0320.01013.43
7.1.180.0280.00913.57
7.1.170.0520.01013.73
7.1.160.0530.00613.64
7.1.150.0290.01313.77
7.1.140.0330.00713.95
7.1.130.0360.00313.52
7.1.120.0240.00613.80
7.1.110.0360.00413.99
7.1.100.0390.00513.63
7.1.90.0680.00713.71
7.1.80.0280.00313.80
7.1.70.0400.00713.77
7.1.60.0480.00313.71
7.1.50.0540.00313.68
7.1.40.0410.00713.84
7.1.30.0500.00913.73
7.1.20.0390.00013.64
7.1.10.0380.00313.69
7.1.00.0370.00313.67
7.0.330.0420.00714.50
7.0.320.0420.01613.63
7.0.310.0390.01213.46
7.0.300.0610.01013.41
7.0.290.0330.01113.54
7.0.280.0440.00713.33
7.0.270.0360.01013.48
7.0.260.0270.01713.62
7.0.250.0550.01213.43
7.0.240.0580.00613.70
7.0.230.0750.00313.53
7.0.220.0420.00713.54
7.0.210.0630.01313.41
7.0.200.0550.00713.39
7.0.190.0530.00913.64
7.0.180.0700.00613.70
7.0.170.0450.00613.61
7.0.160.0460.00713.75
7.0.150.0420.00613.63
7.0.140.0650.00613.58
7.0.130.0310.00913.52
7.0.120.0370.01113.57
7.0.110.0310.00313.30
7.0.100.0390.00013.40
7.0.90.0320.00913.55
7.0.80.0290.00613.30
7.0.70.0420.00813.21
7.0.60.0340.01013.23
7.0.50.0480.01013.48
7.0.40.0340.00013.44
7.0.30.0400.00613.55
7.0.20.0370.01313.72
7.0.10.0500.00413.61
7.0.00.0310.00713.66
hhvm-3.22.00.0980.15890.38
hhvm-3.21.30.0930.18090.96
hhvm-3.21.00.1310.14890.08
hhvm-3.20.20.1390.17690.03
hhvm-3.19.20.0920.21289.97
hhvm-3.18.50.0760.15888.70
hhvm-3.18.40.1020.20188.90
hhvm-3.17.30.0830.16087.47
hhvm-3.15.40.1030.15585.06
hhvm-3.13.20.1270.12996.51
hhvm-3.12.140.1230.19395.47
hhvm-3.11.10.1190.13987.55
hhvm-3.10.10.0990.17484.41
5.6.380.0070.01114.17
5.6.370.0120.00013.77
5.6.360.0130.00813.84
5.6.350.0060.01914.46
5.6.340.0180.00714.38
5.6.330.0090.00914.40
5.6.320.0160.00914.50
5.6.310.0130.01014.04
5.6.300.0120.00814.32
5.6.290.0070.01714.13
5.6.280.0050.01514.03
5.6.270.0140.00714.16
5.6.260.0110.01114.23
5.6.250.0220.00014.13
5.6.240.0080.01314.36
5.6.230.0140.00714.15
5.6.220.0210.00314.32
5.6.210.0000.02414.24
5.6.200.0170.00314.24
5.6.190.0080.01314.13
5.6.180.0110.01114.14
5.6.170.0130.00914.23
5.6.160.0060.01514.25
5.6.150.0160.00314.21
5.6.140.0170.00314.08
5.6.130.0100.00814.13
5.6.120.0170.00714.11
5.6.110.0150.00814.25
5.6.100.0140.00914.22
5.6.90.0120.00614.14
5.6.80.0140.00713.95
5.6.70.0090.00914.23
5.6.60.0090.01514.07
5.6.50.0150.01014.27
5.6.40.0140.00813.86
5.6.30.0150.00414.05
5.6.20.0140.00514.00
5.6.10.0210.00314.14
5.6.00.0190.00314.16
5.5.380.0090.00610.71
5.5.370.0070.00710.94
5.5.360.0130.00310.95
5.5.350.0080.00411.02
5.5.340.0120.00210.74
5.5.330.0130.00311.06
5.5.320.0110.00010.89
5.5.310.0120.00910.52
5.5.300.0150.00011.03
5.5.290.0050.00910.60
5.5.280.0110.00410.73
5.5.270.0100.00510.87
5.5.260.0060.00610.70
5.5.250.0150.00010.64
5.5.240.0140.00510.83
5.5.230.0140.00310.61
5.5.220.0060.00910.73
5.5.210.0150.00410.79
5.5.200.0180.00010.87
5.5.190.0080.00811.01
5.5.180.0080.00410.79
5.5.170.0110.00310.89
5.5.160.0110.00310.95
5.5.150.0070.01110.92
5.5.140.0120.00310.83
5.5.130.0140.00410.68
5.5.120.0100.00310.84
5.5.110.0120.00410.61
5.5.100.0130.00310.88
5.5.90.0120.00510.44
5.5.80.0090.00610.67
5.5.70.0180.00010.95
5.5.60.0160.00010.96
5.5.50.0130.00311.00
5.5.40.0100.00510.94
5.5.30.0100.00310.62
5.5.20.0090.00610.63
5.5.10.0080.00410.67
5.5.00.0100.00310.84
5.4.450.0040.00910.74
5.4.440.0150.00010.91
5.4.430.0080.00810.96
5.4.420.0100.00310.78
5.4.410.0040.00810.86
5.4.400.0080.00610.68
5.4.390.0070.00710.81
5.4.380.0040.01110.96
5.4.370.0060.00610.79
5.4.360.0070.01010.80
5.4.350.0090.00410.82
5.4.340.0110.00710.85
5.4.330.0090.00410.69
5.4.320.0080.00310.46
5.4.310.0110.00410.79
5.4.300.0080.01010.80
5.4.290.0130.00310.91
5.4.280.0110.00010.60
5.4.270.0130.00311.00
5.4.260.0160.00010.53
5.4.250.0120.00310.43
5.4.240.0080.00610.74
5.4.230.0120.00410.75
5.4.220.0120.00410.97
5.4.210.0080.00811.04
5.4.200.0050.00810.79
5.4.190.0060.00610.89
5.4.180.0000.01310.65
5.4.170.0100.00710.72
5.4.160.0060.00910.39
5.4.150.0070.00710.64
5.4.140.0080.00510.76
5.4.130.0090.00510.94
5.4.120.0080.00810.67
5.4.110.0110.00310.92
5.4.100.0090.00610.79
5.4.90.0050.01010.65
5.4.80.0090.00310.70
5.4.70.0090.00310.96
5.4.60.0110.00610.73
5.4.50.0100.00610.77
5.4.40.0140.00010.59
5.4.30.0140.00010.88
5.4.20.0110.00010.52
5.4.10.0120.00410.76
5.4.00.0050.01110.78
5.3.290.0090.00610.07
5.3.280.0060.0049.94
5.3.270.0070.00710.33
5.3.260.0130.00010.25
5.3.250.0080.00810.34
5.3.240.0090.0049.95
5.3.230.0080.00610.27
5.3.220.0070.00410.23
5.3.210.0040.01210.18
5.3.200.0090.00610.07
5.3.190.0120.00310.25
5.3.180.0100.00610.48
5.3.170.0060.00610.44
5.3.160.0080.00510.46
5.3.150.0140.00010.37
5.3.140.0070.00410.19
5.3.130.0070.00710.30
5.3.120.0070.00710.15
5.3.110.0120.00310.30
5.3.100.0080.00410.23
5.3.90.0070.00410.37
5.3.80.0090.00610.30
5.3.70.0140.00310.27
5.3.60.0100.00310.32
5.3.50.0140.00010.10
5.3.40.0090.00410.11
5.3.30.0060.00610.04
5.3.20.0130.00010.23
5.3.10.0120.00010.09
5.3.00.0090.00410.05
5.2.170.0090.0069.19
5.2.160.0120.0009.07
5.2.150.0100.0009.14
5.2.140.0060.0069.25
5.2.130.0000.0099.13
5.2.120.0070.0049.01
5.2.110.0130.0009.25
5.2.100.0060.0069.27
5.2.90.0080.0049.07
5.2.80.0070.0079.07
5.2.70.0000.0109.21
5.2.60.0030.0089.14
5.2.50.0040.0089.31
5.2.40.0040.0078.99
5.2.30.0030.0069.23
5.2.20.0030.0088.99
5.2.10.0110.0008.99
5.2.00.0070.0048.99
5.1.60.0070.0038.99
5.1.50.0040.0088.99
5.1.40.0050.0058.99
5.1.30.0000.0088.99
5.1.20.0050.0058.99
5.1.10.0080.0008.99
5.1.00.0050.0058.99
5.0.50.0000.0098.99
5.0.40.0090.0008.99
5.0.30.0090.0008.99
5.0.20.0090.0008.99
5.0.10.0070.0038.99
5.0.00.0080.0028.99
4.4.90.0050.0058.99
4.4.80.0040.0048.99
4.4.70.0040.0018.99
4.4.60.0050.0028.99
4.4.50.0070.0008.99
4.4.40.0060.0008.99
4.4.30.0030.0038.99
4.4.20.0060.0038.99
4.4.10.0000.0068.99
4.4.00.0070.0008.99
4.3.110.0040.0048.99
4.3.100.0050.0038.99
4.3.90.0040.0048.99
4.3.80.0070.0008.99
4.3.70.0000.0068.99
4.3.60.0000.0078.99
4.3.50.0060.0038.99
4.3.40.0040.0028.99
4.3.30.0000.0068.99
4.3.20.0020.0048.99
4.3.10.0000.0068.99
4.3.00.0000.0098.99