3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '{"4":{"virtuemart_calc_id":4,"calc_name":"MwSt. 7%","calc_value":"7.0000","result":0.1498133},"3":{"virtuemart_calc_id":3,"calc_name":"MwSt. 19%","calc_value":"19.0000" ,"result":0.7904}}'; $array = unserialize($string); var_dump($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IjsP0
function name:  (null)
number of ops:  9
compiled vars:  !0 = $string, !1 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%7B%224%22%3A%7B%22virtuemart_calc_id%22%3A4%2C%22calc_name%22%3A%22MwSt.+7%25%22%2C%22calc_value%22%3A%227.0000%22%2C%22result%22%3A0.1498133%7D%2C%223%22%3A%7B%22virtuemart_calc_id%22%3A3%2C%22calc_name%22%3A%22MwSt.+19%25%22%2C%22calc_value%22%3A%2219.0000%22+%2C%22result%22%3A0.7904%7D%7D'
    3     1        INIT_FCALL                                               'unserialize'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    4     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:
158.15 ms | 1394 KiB | 17 Q