3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '[{"alpha_2": "AD", "alpha_3": "AND", "area": "468", "capital": "Andorra la Vella", "continent": "EU", "currency_code": "EUR", "currency_name": "Euro", "eqivalent_fips_code": "", "fips": "AN", "geoname_id": "3041565", "languages": "ca", "name": "Andorra", "neighbours": "ES,FR", "numeric": "020", "phone": "376", "population": "84000", "postal_code_format": "AD###", "postal_code_regex": "^(?:AD)*(\\\\d{3})$", "tld": ".ad"}]'; var_dump(json_decode($json, true));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pSoar
function name:  (null)
number of ops:  9
compiled vars:  !0 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%5B%7B%22alpha_2%22%3A+%22AD%22%2C+%22alpha_3%22%3A+%22AND%22%2C+%22area%22%3A+%22468%22%2C+%22capital%22%3A+%22Andorra+la+Vella%22%2C+%22continent%22%3A+%22EU%22%2C+%22currency_code%22%3A+%22EUR%22%2C+%22currency_name%22%3A+%22Euro%22%2C+%22eqivalent_fips_code%22%3A+%22%22%2C+%22fips%22%3A+%22AN%22%2C+%22geoname_id%22%3A+%223041565%22%2C+%22languages%22%3A+%22ca%22%2C+%22name%22%3A+%22Andorra%22%2C+%22neighbours%22%3A+%22ES%2CFR%22%2C+%22numeric%22%3A+%22020%22%2C+%22phone%22%3A+%22376%22%2C+%22population%22%3A+%2284000%22%2C+%22postal_code_format%22%3A+%22AD%23%23%23%22%2C+%22postal_code_regex%22%3A+%22%5E%28%3F%3AAD%29%2A%28%5C%5Cd%7B3%7D%29%24%22%2C+%22tld%22%3A+%22.ad%22%7D%5D'
    5     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'json_decode'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 <true>
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.65 ms | 939 KiB | 18 Q