3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo findRecordsByFeeds(['project' => 2, 'template' => 1], 50); function findRecords($params = []) { $url = 'http://news.ngs52.ru/records?'; $params = array_filter($params); return $url . http_build_query($params); } function findRecordsByFeeds($feeds, $limit = null, $offset = null, $viewsRegion = null, $fields = null) { $params = [ 'feeds' => $feeds, 'limit' => $limit, 'offset' => $offset, 'viewsRegion' => $viewsRegion, 'excludeArticleId' => null, 'topHours' => null, 'isValidated' => true ]; if (is_array($fields)) { $params['fields'] = $fields; } return findRecords($params); }

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).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0080.00618.55
8.3.50.0060.00922.05
8.3.40.0040.01118.67
8.3.30.0070.00719.27
8.3.20.0080.00020.34
8.3.10.0000.00723.57
8.3.00.0040.00717.63
8.2.180.0100.00716.48
8.2.170.0040.01122.96
8.2.160.0030.01220.23
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0100.00026.16
8.2.120.0040.00422.08
8.2.110.0040.00422.18
8.2.100.0030.00718.09
8.2.90.0040.00419.27
8.2.80.0000.00917.97
8.2.70.0050.00517.50
8.2.60.0000.00817.87
8.2.50.0050.00318.07
8.2.40.0080.00019.97
8.2.30.0000.00819.79
8.2.20.0030.00617.82
8.2.10.0000.00718.05
8.2.00.0040.00417.75
8.1.280.0110.00325.92
8.1.270.0060.00323.91
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00623.82
8.1.230.0100.00019.09
8.1.220.0000.00917.78
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0080.00017.13
8.1.180.0080.00018.10
8.1.170.0040.00418.53
8.1.160.0040.00421.96
8.1.150.0000.00818.59
8.1.140.0050.00317.45
8.1.130.0030.00317.85
8.1.120.0000.00717.44
8.1.110.0000.00717.40
8.1.100.0050.00217.35
8.1.90.0040.00417.45
8.1.80.0040.00417.47
8.1.70.0030.00517.32
8.1.60.0000.00717.61
8.1.50.0060.00317.52
8.1.40.0030.00617.54
8.1.30.0030.00617.55
8.1.20.0000.00817.56
8.1.10.0070.00017.52
8.1.00.0040.00417.50
8.0.300.0000.00818.77
8.0.290.0040.00417.18
8.0.280.0070.00018.34
8.0.270.0000.00717.28
8.0.260.0040.00417.27
8.0.250.0070.00016.88
8.0.240.0030.00516.92
8.0.230.0030.00316.88
8.0.220.0030.00316.84
8.0.210.0030.00316.96
8.0.200.0070.00016.87
8.0.190.0000.00816.83
8.0.180.0000.00716.95
8.0.170.0000.00716.98
8.0.160.0070.00016.89
8.0.150.0070.00016.75
8.0.140.0040.00416.80
8.0.130.0030.00313.29
8.0.120.0080.00016.91
8.0.110.0050.00216.88
8.0.100.0040.00416.84
8.0.90.0000.00716.87
8.0.80.0070.01016.90
8.0.70.0040.00416.77
8.0.60.0030.00516.76
8.0.50.0000.00716.79
8.0.30.0080.01016.90
8.0.20.0130.00617.44
8.0.10.0070.00016.95
8.0.00.0070.01416.86
7.4.330.0030.00315.00
7.4.320.0060.00016.46
7.4.300.0030.00316.65
7.4.290.0070.00016.50
7.4.280.0000.00816.65
7.4.270.0000.00816.45
7.4.260.0050.00316.49
7.4.250.0000.00716.51
7.4.240.0050.00216.48
7.4.230.0070.00016.65
7.4.220.0070.01116.45
7.4.210.0080.00816.66
7.4.200.0080.00016.68
7.4.190.0060.00316.56
7.4.160.0120.00316.46
7.4.150.0150.00317.40
7.4.140.0090.00917.86
7.4.130.0120.00616.68
7.4.120.0100.00916.46
7.4.110.0030.01416.51
7.4.100.0120.00616.39
7.4.90.0140.00316.31
7.4.80.0100.00719.39
7.4.70.0060.01616.53
7.4.60.0060.01016.32
7.4.50.0000.00816.69
7.4.40.0050.01416.29
7.4.30.0000.01516.73
7.4.00.0030.01315.04
7.3.330.0000.00513.23
7.3.320.0000.00513.14
7.3.310.0030.00516.36
7.3.300.0030.00316.45
7.3.290.0110.00516.35
7.3.280.0110.00616.40
7.3.270.0120.00617.40
7.3.260.0060.01216.73
7.3.250.0080.01616.60
7.3.240.0030.01216.66
7.3.230.0110.00716.39
7.3.210.0040.01216.42
7.3.200.0080.01119.39
7.3.190.0030.01416.64
7.3.180.0070.01116.61
7.3.170.0090.00916.71
7.3.160.0030.01316.49
7.3.120.0060.00615.02
7.2.330.0060.01316.82
7.2.320.0090.00916.76
7.2.310.0160.00816.47
7.2.300.0120.00616.72
7.2.290.0150.00316.72
7.2.00.0000.01719.60
7.1.100.0080.00318.23
7.1.70.0030.00617.38
7.1.60.0130.01019.46
7.1.50.0070.01016.70
7.1.00.0100.07022.36
7.0.200.0040.00716.93
7.0.140.0000.07322.17
7.0.60.0100.05020.00
7.0.50.0070.08017.86
7.0.40.0070.08720.15
7.0.30.0170.05020.35
7.0.20.0500.07320.19
7.0.10.0070.05320.12
7.0.00.0070.09020.12
5.6.280.0030.07021.11
5.6.210.0130.03020.75
5.6.200.0030.05318.22
5.6.190.0030.05720.41
5.6.180.0170.08320.55
5.6.170.0300.08320.51
5.6.160.0070.05720.54
5.6.150.0030.04018.18
5.6.140.0100.07018.16
5.6.130.0070.04018.27
5.6.120.0100.07721.14
5.6.110.0100.08321.04
5.6.100.0030.04321.14
5.6.90.0100.07320.96
5.6.80.0000.05320.43
5.5.350.0230.06320.45
5.5.340.0030.07718.02
5.5.330.0100.05320.41
5.5.320.0270.08020.24
5.5.310.0270.06020.34
5.5.300.0070.03317.96
5.5.290.0030.04718.07
5.5.280.0130.08720.90
5.5.270.0070.06020.74
5.5.260.0070.08720.65
5.5.250.0030.07320.77
5.5.240.0130.07020.04
5.4.450.0200.05019.47
5.4.440.0230.06019.48
5.4.430.0130.05719.38
5.4.420.0230.05019.47
5.4.410.0270.04719.50
5.4.400.0170.05719.29
5.4.390.0100.06718.98
5.4.380.0130.05718.51
5.4.370.0200.06718.61
5.4.360.0130.06318.48
5.4.350.0130.05718.52
5.4.340.0200.05718.50
5.4.320.0080.03412.51
5.4.310.0070.05112.50
5.4.300.0060.03612.51
5.4.290.0080.03712.50
5.4.280.0060.04212.40
5.4.270.0090.04812.40
5.4.260.0050.03812.40
5.4.250.0060.03912.40
5.4.240.0090.04712.40
5.4.230.0100.04512.39
5.4.220.0090.05412.39
5.4.210.0060.06412.39
5.4.200.0080.04012.39
5.4.190.0110.03712.39
5.4.180.0070.03912.39
5.4.170.0080.04912.40
5.4.160.0120.04212.39
5.4.150.0060.05512.39
5.4.140.0090.05812.08
5.4.130.0060.06012.06
5.4.120.0090.05912.02
5.4.110.0100.05912.02
5.4.100.0110.04412.02
5.4.90.0090.05112.02
5.4.80.0070.06012.02
5.4.70.0110.05012.01
5.4.60.0080.05412.01
5.4.50.0060.05512.02
5.4.40.0070.05112.00
5.4.30.0050.03712.00
5.4.20.0060.03512.00
5.4.10.0090.06812.00
5.4.00.0100.04711.49
5.3.290.0090.04012.80
5.3.280.0040.05012.71
5.3.270.0080.09012.73
5.3.260.0080.05512.72
5.3.250.0070.05312.72
5.3.240.0050.05512.72
5.3.230.0070.05212.71
5.3.220.0070.04412.68
5.3.210.0100.04712.68
5.3.200.0050.04012.68
5.3.190.0040.04212.68
5.3.180.0070.03812.67
5.3.170.0080.03812.67
5.3.160.0080.04012.67
5.3.150.0080.03812.67
5.3.140.0090.04112.66
5.3.130.0090.04012.65
5.3.120.0080.06112.66
5.3.110.0200.08312.66
5.3.100.0120.05112.12
5.3.90.0170.06912.09
5.3.80.0100.04912.07
5.3.70.0060.05212.08
5.3.60.0050.05312.06
5.3.50.0100.06012.00
5.3.40.0030.04812.00
5.3.30.0070.05211.95
5.3.20.0100.05711.73
5.3.10.0100.04411.70
5.3.00.0090.05411.68
5.2.170.0080.0399.18
5.2.160.0090.0289.18
5.2.150.0070.0429.18
5.2.140.0080.0349.18
5.2.130.0060.0359.14
5.2.120.0040.0399.14
5.2.110.0040.0339.14
5.2.100.0060.0299.14
5.2.90.0070.0369.14
5.2.80.0080.0299.14
5.2.70.0070.0329.14
5.2.60.0090.0329.09
5.2.50.0070.0319.06
5.2.40.0060.0309.04
5.2.30.0050.0329.01
5.2.20.0030.0309.00
5.2.10.0050.0408.93
5.2.00.0110.0268.78
5.1.60.0070.0238.07
5.1.50.0040.0288.07
5.1.40.0050.0308.04
5.1.30.0040.0278.40
5.1.20.0050.0268.41
5.1.10.0060.0248.14
5.1.00.0040.0278.14
5.0.50.0060.0256.62
5.0.40.0050.0216.48
5.0.30.0070.0356.29
5.0.20.0050.0286.26
5.0.10.0070.0286.24
5.0.00.0040.0346.23
4.4.90.0020.0174.78
4.4.80.0030.0164.75
4.4.70.0040.0214.76
4.4.60.0050.0164.75
4.4.50.0030.0204.77
4.4.40.0030.0364.71
4.4.30.0050.0164.76
4.4.20.0030.0184.85
4.4.10.0050.0194.85
4.4.00.0060.0264.76
4.3.110.0090.0174.67
4.3.100.0050.0194.67
4.3.90.0050.0134.64
4.3.80.0050.0574.58
4.3.70.0050.0214.63
4.3.60.0050.0214.63
4.3.50.0050.0234.63
4.3.40.0070.0344.54
4.3.30.0000.0203.29
4.3.20.0030.0193.27
4.3.10.0010.0203.22
4.3.00.0030.0237.45

preferences:
43.22 ms | 401 KiB | 5 Q