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);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/c46Ti
function name:  (null)
number of ops:  10
compiled vars:  !0 = $json, !1 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%22status%22%3A%7B%22timestamp%22%3A%222021-12-04T13%3A02%3A58.558Z%22%2C%22error_code%22%3A0%2C%22error_message%22%3Anull%2C%22elapsed%22%3A22%2C%22credit_count%22%3A1%2C%22notice%22%3Anull%2C%22total_count%22%3A7934%7D%2C%22data%22%3A%5B%7B%22id%22%3A1%2C%22name%22%3A%22Bitcoin%22%2C%22symbol%22%3A%22BTC%22%2C%22slug%22%3A%22bitcoin%22%2C%22num_market_pairs%22%3A8308%2C%22date_added%22%3A%222013-04-28T00%3A00%3A00.000Z%22%2C%22tags%22%3A%5B%22mineable%22%2C%22pow%22%2C%22sha-256%22%2C%22store-of-value%22%2C%22state-channel%22%2C%22coinbase-ventures-portfolio%22%2C%22three-arrows-capital-portfolio%22%2C%22polychain-capital-portfolio%22%2C%22binance-labs-portfolio%22%2C%22blockchain-capital-portfolio%22%2C%22boostvc-portfolio%22%2C%22cms-holdings-portfolio%22%2C%22dcg-portfolio%22%2C%22dragonfly-capital-portfolio%22%2C%22electric-capital-portfolio%22%2C%22fabric-ventures-portfolio%22%2C%22framework-ventures-portfolio%22%2C%22galaxy-digital-portfolio%22%2C%22huobi-capital-portfolio%22%2C%22alameda-research-portfolio%22%2C%22a16z-portfolio%22%2C%221confirmation-portfolio%22%2C%22winklevoss-capital-portfolio%22%2C%22usv-portfolio%22%2C%22placeholder-ventures-portfolio%22%2C%22pantera-capital-portfolio%22%2C%22multicoin-capital-portfolio%22%2C%22paradigm-portfolio%22%5D%2C%22max_supply%22%3A21000000%2C%22circulating_supply%22%3A18890987%2C%22total_supply%22%3A18890987%2C%22platform%22%3Anull%2C%22cmc_rank%22%3A1%2C%22last_updated%22%3A%222021-12-04T13%3A02%3A02.000Z%22%2C%22quote%22%3A%7B%22USD%22%3A%7B%22price%22%3A47201.84236157637%2C%22volume_24h%22%3A62618418378.936775%2C%22volume_change_24h%22%3A94.4686%2C%22percent_change_1h%22%3A1.04215459%2C%22percent_change_24h%22%3A-17.01631179%2C%22percent_change_7d%22%3A-13.77003006%2C%22percent_change_30d%22%3A-23.77721437%2C%22percent_change_60d%22%3A-5.46384951%2C%22percent_change_90d%22%3A-5.79607754%2C%22market_cap%22%3A891689390428.5885%2C%22market_cap_dominance%22%3A40.5598%2C%22fully_diluted_market_cap%22%3A991238689593.1%2C%22last_updated%22%3A%222021-12-04T13%3A02%3A02.000Z%22%7D%7D%7D%5D%7D'
    5     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    6     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.6 ms | 1438 KiB | 15 Q