3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"status":{"timestamp":"2021-12-04T13:02:58.558Z","error_code":0,"error_message":null,"elapsed":22,"credit_count":1,"notice":null,"total_count":7934},"data":[{"id":1,"name":"Bitcoin","symbol":"BTC","slug":"bitcoin","num_market_pairs":8308,"date_added":"2013-04-28T00:00:00.000Z","tags":["mineable","pow","sha-256","store-of-value","state-channel","coinbase-ventures-portfolio","three-arrows-capital-portfolio","polychain-capital-portfolio","binance-labs-portfolio","blockchain-capital-portfolio","boostvc-portfolio","cms-holdings-portfolio","dcg-portfolio","dragonfly-capital-portfolio","electric-capital-portfolio","fabric-ventures-portfolio","framework-ventures-portfolio","galaxy-digital-portfolio","huobi-capital-portfolio","alameda-research-portfolio","a16z-portfolio","1confirmation-portfolio","winklevoss-capital-portfolio","usv-portfolio","placeholder-ventures-portfolio","pantera-capital-portfolio","multicoin-capital-portfolio","paradigm-portfolio"],"max_supply":21000000,"circulating_supply":18890987,"total_supply":18890987,"platform":null,"cmc_rank":1,"last_updated":"2021-12-04T13:02:02.000Z","quote":{"USD":{"price":47201.84236157637,"volume_24h":62618418378.936775,"volume_change_24h":94.4686,"percent_change_1h":1.04215459,"percent_change_24h":-17.01631179,"percent_change_7d":-13.77003006,"percent_change_30d":-23.77721437,"percent_change_60d":-5.46384951,"percent_change_90d":-5.79607754,"market_cap":891689390428.5885,"market_cap_dominance":40.5598,"fully_diluted_market_cap":991238689593.1,"last_updated":"2021-12-04T13:02:02.000Z"}}}]}'; $array = json_decode($json,true); print_r($array);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [status] => Array ( [timestamp] => 2021-12-04T13:02:58.558Z [error_code] => 0 [error_message] => [elapsed] => 22 [credit_count] => 1 [notice] => [total_count] => 7934 ) [data] => Array ( [0] => Array ( [id] => 1 [name] => Bitcoin [symbol] => BTC [slug] => bitcoin [num_market_pairs] => 8308 [date_added] => 2013-04-28T00:00:00.000Z [tags] => Array ( [0] => mineable [1] => pow [2] => sha-256 [3] => store-of-value [4] => state-channel [5] => coinbase-ventures-portfolio [6] => three-arrows-capital-portfolio [7] => polychain-capital-portfolio [8] => binance-labs-portfolio [9] => blockchain-capital-portfolio [10] => boostvc-portfolio [11] => cms-holdings-portfolio [12] => dcg-portfolio [13] => dragonfly-capital-portfolio [14] => electric-capital-portfolio [15] => fabric-ventures-portfolio [16] => framework-ventures-portfolio [17] => galaxy-digital-portfolio [18] => huobi-capital-portfolio [19] => alameda-research-portfolio [20] => a16z-portfolio [21] => 1confirmation-portfolio [22] => winklevoss-capital-portfolio [23] => usv-portfolio [24] => placeholder-ventures-portfolio [25] => pantera-capital-portfolio [26] => multicoin-capital-portfolio [27] => paradigm-portfolio ) [max_supply] => 21000000 [circulating_supply] => 18890987 [total_supply] => 18890987 [platform] => [cmc_rank] => 1 [last_updated] => 2021-12-04T13:02:02.000Z [quote] => Array ( [USD] => Array ( [price] => 47201.842361576 [volume_24h] => 62618418378.937 [volume_change_24h] => 94.4686 [percent_change_1h] => 1.04215459 [percent_change_24h] => -17.01631179 [percent_change_7d] => -13.77003006 [percent_change_30d] => -23.77721437 [percent_change_60d] => -5.46384951 [percent_change_90d] => -5.79607754 [market_cap] => 891689390428.59 [market_cap_dominance] => 40.5598 [fully_diluted_market_cap] => 991238689593.1 [last_updated] => 2021-12-04T13:02:02.000Z ) ) ) ) )

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:
65.43 ms | 417 KiB | 5 Q