3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(json_decode('{"customer_name":{"field":"person"},"customer_email":{"value":"outgoing@gompels.co.uk"},"billing_1":{"field":"address 1"},"billing_2":{"field":"address 2"},"billing_city":[],"billing_county":[],"billing_postcode":{"field":"postcode"},"billing_phone":[],"billing_fax":{"value":0},"shipping_1":{"field":"address 1"},"shipping_2":{"field":"address 2"},"shipping_city":[],"shipping_county":[],"shipping_postcode":{"field":"postcode"},"shipping_phone":[],"shipping_fax":{"value":0},"invoice_1":{"value":"Gompels HealthCare, No.1 Swift Way"},"invoice_2":{"value":"Bowerhill Ind Est"},"invoice_city":{"value":"Melksham"},"invoice_county":{"value":"Wiltshire"},"invoice_postcode":{"value":"SN12 6GX"},"invoice_phone":[],"invoice_fax":[],"company":{"field":"name"},"billing_town":{"field":"town"},"shipping_town":{"field":"town"}}')); var_dump(kson_last_error());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NBHk7
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'json_decode'
          2        SEND_VAL                                                 '%7B%22customer_name%22%3A%7B%22field%22%3A%22person%22%7D%2C%22customer_email%22%3A%7B%22value%22%3A%22outgoing%40gompels.co.uk%22%7D%2C%22billing_1%22%3A%7B%22field%22%3A%22address+1%22%7D%2C%22billing_2%22%3A%7B%22field%22%3A%22address+2%22%7D%2C%22billing_city%22%3A%5B%5D%2C%22billing_county%22%3A%5B%5D%2C%22billing_postcode%22%3A%7B%22field%22%3A%22postcode%22%7D%2C%22billing_phone%22%3A%5B%5D%2C%22billing_fax%22%3A%7B%22value%22%3A0%7D%2C%22shipping_1%22%3A%7B%22field%22%3A%22address+1%22%7D%2C%22shipping_2%22%3A%7B%22field%22%3A%22address+2%22%7D%2C%22shipping_city%22%3A%5B%5D%2C%22shipping_county%22%3A%5B%5D%2C%22shipping_postcode%22%3A%7B%22field%22%3A%22postcode%22%7D%2C%22shipping_phone%22%3A%5B%5D%2C%22shipping_fax%22%3A%7B%22value%22%3A0%7D%2C%22invoice_1%22%3A%7B%22value%22%3A%22Gompels+HealthCare%2C+No.1+Swift+Way%22%7D%2C%22invoice_2%22%3A%7B%22value%22%3A%22Bowerhill+Ind+Est%22%7D%2C%22invoice_city%22%3A%7B%22value%22%3A%22Melksham%22%7D%2C%22invoice_county%22%3A%7B%22value%22%3A%22Wiltshire%22%7D%2C%22invoice_postcode%22%3A%7B%22value%22%3A%22SN12+6GX%22%7D%2C%22invoice_phone%22%3A%5B%5D%2C%22invoice_fax%22%3A%5B%5D%2C%22company%22%3A%7B%22field%22%3A%22name%22%7D%2C%22billing_town%22%3A%7B%22field%22%3A%22town%22%7D%2C%22shipping_town%22%3A%7B%22field%22%3A%22town%22%7D%7D'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL_BY_NAME                                       'kson_last_error'
          8        DO_FCALL                                      0  $2      
          9        SEND_VAR                                                 $2
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.24 ms | 1395 KiB | 17 Q