3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = json_decode(' { "results": [ { "url": "https:1783.json", "id": 1783, "created_at": "2019-08-29T13:52:47Z", "status": "open", "recipient": null }, { "url": "https:1781.json", "id": 1781, "created_at": "2019-08-29T10:21:57Z", "status": "open", "recipient": null } ] } ', true); echo count(array_filter($arr['results'], function ($val) {return $val['status'] == 'open';}));
Output for git.master_jit, git.master, rfc.property-hooks
2

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:
97.59 ms | 405 KiB | 5 Q