3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sJson = ' { "took" : 363, "timed_out" : false, "num_reduce_phases" : 15, "_shards" : { "total" : 7195, "successful" : 7195, "failed" : 0 }, "hits" : { "total" : 35672, "max_score" : 0.0, "hits" : [ ] }, "aggregations" : { "2" : { "doc_count_error_upper_bound" : 54, "sum_other_doc_count" : 1463, "buckets" : [ { "key" : "ふるさと納税", "doc_count" : 30376 } ] } } } '; $aJson = json_decode($sJson, true); echo $aJson['aggregations'][2]['buckets'][0]['doc_count'];
Output for git.master, git.master_jit, rfc.property-hooks
30376

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