3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "1":{"Itemname":"dtfg","unitprice":"12","Qty":"4","price":"$48.00"}, "2":{"Itemname":"kjh","unitprice":"45","Qty":"7","price":"$315.00"}, "3":{"Itemname":"yjk","unitprice":"76","Qty":"8","price":"$608.00"}, "4":{"Itemname":"hgj","unitprice":"4","Qty":"45","price":"$180.00"} }'; $myFullArray = json_decode($json); var_dump($myFullArray);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7Keij
function name:  (null)
number of ops:  9
compiled vars:  !0 = $json, !1 = $myFullArray
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%0A+%221%22%3A%7B%22Itemname%22%3A%22dtfg%22%2C%22unitprice%22%3A%2212%22%2C%22Qty%22%3A%224%22%2C%22price%22%3A%22%2448.00%22%7D%2C%0A+%222%22%3A%7B%22Itemname%22%3A%22kjh%22%2C%22unitprice%22%3A%2245%22%2C%22Qty%22%3A%227%22%2C%22price%22%3A%22%24315.00%22%7D%2C%0A+%223%22%3A%7B%22Itemname%22%3A%22yjk%22%2C%22unitprice%22%3A%2276%22%2C%22Qty%22%3A%228%22%2C%22price%22%3A%22%24608.00%22%7D%2C%0A+%224%22%3A%7B%22Itemname%22%3A%22hgj%22%2C%22unitprice%22%3A%224%22%2C%22Qty%22%3A%2245%22%2C%22price%22%3A%22%24180.00%22%7D%0A%7D'
    9     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
   11     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.97 ms | 1394 KiB | 17 Q