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/rest/v2/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); }
Output for git.master, git.master_jit, rfc.property-hooks
http://news.ngs52.ru/rest/v2/records?feeds%5Bproject%5D=2&feeds%5Btemplate%5D=1&limit=50&isValidated=1

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
34.65 ms | 401 KiB | 8 Q