3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = 'http://mysite.com/hello/world?look_at=me'; $query = parse_str(parse_url($url, PHP_URL_QUERY)); ?> <a href="?<?= http_build_query(array_merge($query, ['category' => 'val'])) ?>">Категория каталога</a> <a href="?<?= http_build_query(array_merge($query, ['sort' => 'price'])) ?>">Сортировать по цене</a>

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.2.110.0060.00616.37
7.2.100.0100.00416.46
7.2.90.0060.00916.29
7.2.80.0080.00716.43
7.2.70.0100.00516.74
7.2.60.0050.00916.83
7.2.50.0030.01216.76
7.2.40.0170.00516.72
7.2.30.0090.00816.79
7.2.20.0090.00516.78
7.2.10.0040.00916.79
7.2.00.0040.00917.70
7.1.230.0090.00315.42
7.1.220.0070.00715.69
7.1.210.0090.00415.58
7.1.200.0070.00715.50
7.1.190.0090.00315.52
7.1.180.0110.00215.64
7.1.170.0130.00115.58
7.1.160.0090.00515.48
7.1.150.0280.00514.70
7.1.140.0070.00715.54
7.1.130.0040.01015.54
7.1.120.0080.00715.74
7.1.110.0070.00815.52
7.1.100.0090.00416.38
7.1.90.0270.00515.65
7.1.80.0080.00715.69
7.1.70.0050.00716.09
7.1.60.0170.01229.05
7.1.50.0280.00827.56
7.1.40.0360.01133.71
7.1.30.0380.01032.66
7.1.20.0330.00532.79
7.1.10.0190.00614.65
7.1.00.0080.02617.90
7.0.310.0100.00715.25
7.0.300.0190.00614.08
7.0.290.0110.00715.40
7.0.280.0050.00815.10
7.0.270.0130.00415.29
7.0.260.0090.00815.25
7.0.250.0100.00515.23
7.0.240.0140.00215.42
7.0.230.0270.00815.45
7.0.220.0080.00715.32
7.0.210.0200.00514.42
7.0.200.0090.00515.19
7.0.190.0260.00814.42
7.0.180.0080.00915.23
7.0.170.0100.00415.25
7.0.160.0250.00715.22
7.0.150.0200.01114.38
7.0.140.0120.00515.03
7.0.130.0290.00615.39
7.0.120.0340.00413.58
7.0.110.0210.00515.27
7.0.100.0100.00615.33
7.0.90.0100.00815.28
7.0.80.0160.00715.20
7.0.70.0080.00915.17
7.0.60.0090.02916.95
7.0.50.0110.02516.13
7.0.40.0070.02316.85
7.0.30.0110.02116.99
7.0.20.0130.02416.95
7.0.10.0070.03216.92
7.0.00.0110.02516.97
hhvm-3.22.00.1070.18290.58
hhvm-3.21.30.0920.15989.08
hhvm-3.21.00.0940.17389.13
hhvm-3.20.20.1070.16489.36
hhvm-3.19.20.1050.18489.27
hhvm-3.18.50.0940.16787.47
hhvm-3.18.40.0990.15687.28
hhvm-3.17.30.0600.17286.52
hhvm-3.15.40.1040.16584.30
hhvm-3.13.20.1130.16695.84
hhvm-3.12.140.0990.16794.86
hhvm-3.11.10.0940.16086.61
hhvm-3.10.10.0860.15083.52
5.6.380.0050.01014.05
5.6.370.0060.01114.23
5.6.360.0120.00514.14
5.6.350.0080.00714.38
5.6.340.0100.00814.25
5.6.330.0090.00714.19
5.6.320.0060.00814.12
5.6.310.0050.01214.35
5.6.300.0080.01014.14
5.6.290.0120.00514.16
5.6.280.0070.02116.40
5.6.270.0080.00814.23
5.6.260.0070.00714.16
5.6.250.0080.00914.14
5.6.240.0120.00414.16
5.6.230.0110.00414.26
5.6.220.0050.01314.31
5.6.210.0090.01616.50
5.6.200.0070.03415.48
5.6.190.0100.03416.28
5.6.180.0150.02716.27
5.6.170.0160.03316.28
5.6.160.0110.02916.40
5.6.150.0060.02015.49
5.6.140.0140.01615.58
5.6.130.0090.02315.58
5.6.120.0110.03116.43
5.6.110.0140.02716.54
5.6.100.0080.03516.45
5.6.90.0140.02416.51
5.6.80.0090.03216.24
5.6.70.1560.02316.17
5.6.60.0110.00714.13
5.6.50.0080.00914.02
5.6.40.0080.01314.14
5.6.30.0100.00914.07
5.6.20.0100.00714.28
5.6.10.0090.00714.11
5.6.00.0070.01214.23
5.5.380.0070.00411.29
5.5.370.0040.00811.29
5.5.360.0060.00711.29
5.5.350.0150.02614.31
5.5.340.0040.01813.53
5.5.330.0090.02814.23
5.5.320.0170.01914.27
5.5.310.0140.02114.30
5.5.300.0000.02113.53
5.5.290.0090.01913.51
5.5.280.0100.02814.42
5.5.270.0040.03614.43
5.5.260.0100.02314.40
5.5.250.0060.01714.34
5.5.240.0180.02214.31
5.5.230.0050.00811.29
5.5.220.0080.00311.29
5.5.210.0110.00211.29
5.5.200.0100.00411.29
5.5.190.0090.00611.29
5.5.180.0070.00711.29
5.5.170.0120.00614.11
5.5.160.0060.00611.29
5.5.150.0100.00211.29
5.5.140.0110.00311.29
5.5.130.0070.00611.29
5.5.120.0060.00711.29
5.5.110.0090.00311.29
5.5.100.0070.00611.29
5.5.90.0050.00811.29
5.5.80.0090.00111.29
5.5.70.0060.00511.29
5.5.60.0120.00011.29
5.5.50.0070.00511.29
5.5.40.0040.00811.29
5.5.30.0060.00711.29
5.5.20.0090.00211.29
5.5.10.0100.00111.29
5.5.00.0070.00611.29
5.4.450.0100.02813.89
5.4.440.0100.02513.90
5.4.430.0130.02113.95
5.4.420.0070.03114.04
5.4.410.0120.02414.02
5.4.400.0090.02713.93
5.4.390.0120.02313.90
5.4.380.0090.02813.96
5.4.370.0130.02413.93
5.4.360.0130.02313.94
5.4.350.0080.02313.94
5.4.340.0060.02313.91
5.4.330.0060.00711.29
5.4.320.0110.02513.90
5.4.310.0100.02113.96
5.4.300.0100.02213.94
5.4.290.0080.02113.95
5.4.280.0120.01913.90
5.4.270.0090.02113.78
5.4.260.0110.02113.91
5.4.250.0080.02813.78
5.4.240.0150.02213.92
5.4.230.0120.02013.94
5.4.220.0100.02113.79
5.4.210.0130.02313.90
5.4.200.0110.02313.18
5.4.190.0130.02413.89
5.4.180.0100.02613.84
5.4.170.0110.02413.83
5.4.160.0110.02313.88
5.4.150.0050.02613.89
5.4.140.0110.02112.95
5.4.130.0090.01913.04
5.4.120.0100.02312.92
5.4.110.0100.01913.02
5.4.100.0050.02713.00
5.4.90.0070.02213.00
5.4.80.0060.02712.92
5.4.70.0120.02412.96
5.4.60.0090.01912.99
5.4.50.0060.02113.04
5.4.40.0090.02313.00
5.4.30.0130.02312.94
5.4.20.0120.02612.96
5.4.10.0060.03012.95
5.4.00.0150.01412.84
5.3.290.0100.02212.40
5.3.280.0090.01912.34
5.3.270.0060.02312.33
5.3.260.0060.02512.37
5.3.250.0120.02112.38
5.3.240.0050.02412.33
5.3.230.0100.02012.38
5.3.220.0030.02812.38
5.3.210.0120.02512.31
5.3.200.0100.02412.36
5.3.190.0080.02512.34
5.3.180.0100.02412.32
5.3.170.0040.00711.29
5.3.160.0050.00511.29
5.3.150.0060.00611.29
5.3.140.0080.00511.29
5.3.130.0070.00411.29
5.3.120.0090.00011.29
5.3.110.0080.00511.29
5.3.100.0060.00411.29
5.3.90.0100.00211.29
5.3.80.0050.00711.29
5.3.70.0040.00611.29
5.3.60.0060.00311.29
5.3.50.0070.00511.29
5.3.40.0090.00311.29
5.3.30.0110.00011.29
5.3.20.0060.00711.29
5.3.10.0070.00711.29
5.3.00.0080.00311.29
5.2.170.0090.00111.29
5.2.160.0090.00111.29
5.2.150.0110.00211.29
5.2.140.0060.00411.29
5.2.130.0080.00411.29
5.2.120.0060.00411.29
5.2.110.0050.00611.29
5.2.100.0050.00711.29
5.2.90.0070.00211.29
5.2.80.0080.00311.29
5.2.70.0050.00611.29
5.2.60.0110.00011.29
5.2.50.0060.00411.29
5.2.40.0090.00111.29
5.2.30.0070.00411.29
5.2.20.0050.00511.29
5.2.10.0090.00011.29
5.2.00.0070.00111.29
5.1.60.0090.00011.29
5.1.50.0040.00311.29
5.1.40.0080.00111.29
5.1.30.0080.00111.29
5.1.20.0050.00411.29
5.1.10.0070.00211.29
5.1.00.0100.00011.29
5.0.50.0040.00311.29
5.0.40.0030.00411.29
5.0.30.0050.00211.29
5.0.20.0030.00211.29
5.0.10.0060.00011.29
5.0.00.0060.00011.29
4.4.90.0060.00111.29
4.4.80.0020.00511.29
4.4.70.0050.00111.29
4.4.60.0020.00411.29
4.4.50.0050.00011.29
4.4.40.0050.00111.29
4.4.30.0050.00211.29
4.4.20.0050.00211.29
4.4.10.0050.00211.29
4.4.00.0040.00211.29
4.3.110.0000.00611.29
4.3.100.0040.00311.29
4.3.90.0030.00311.29
4.3.80.0030.00211.29
4.3.70.0030.00311.29
4.3.60.0040.00211.29
4.3.50.0040.00311.29
4.3.40.0000.00611.29
4.3.30.0000.00511.29
4.3.20.0000.00511.29
4.3.10.0000.00611.29
4.3.00.0010.00411.29