3v4l.org

run code in 500+ PHP versions simultaneously
<?php $data = '[{"code":"18707498","date":"2019-01-23T16:58:01","totalPriceInCents":14450,"orderTotalPriceInCents":14450,"status":"PGTO_NAO_CONFIRMADO","availableForExchange":false,"paymentType":"CREDIT_CARD","installmentValueInCents":7225,"installmentsNumber":2,"paymentSummaries":[{"paymentType":"CREDIT_CARD","installmentsNumber":2,"installmentValueInCents":7225,"valueInCents":14450}],"hasGiftCard":false},{"code":"019741817156","date":"2017-06-11T19:09:06","totalPriceInCents":19110,"orderTotalPriceInCents":19110,"status":"ENTREGA_EFETUADA","availableForExchange":false,"paymentType":"CREDIT_CARD","installmentValueInCents":9555,"installmentsNumber":2,"paymentSummaries":[{"paymentType":"CREDIT_CARD","installmentsNumber":2,"installmentValueInCents":9555,"valueInCents":19110}],"hasGiftCard":false}]'; $json = json_decode($data, true); $available = count(array_filter(array_column($json, 'availableForExchange'))); echo "$available available for exchange\n";
Output for git.master, git.master_jit, rfc.property-hooks
0 available for exchange

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:
42.38 ms | 1364 KiB | 4 Q