3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(json_decode('{ "menu": { "id": "file", "value": "File", "popup": { "menuitem": [ { "value": "New", "onclick": "CreateNewDoc()" },{ "value": "Open", "onclick": "OpenDoc()" },{ "value": "Close", "onclick": "CloseDoc()" } ] } } }', null));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QvU2D
function name:  (null)
number of ops:  8
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%0A++++%22menu%22%3A+%7B%0A++++++++%22id%22%3A+%22file%22%2C%0A++++++++%22value%22%3A+%22File%22%2C%0A++++++++%22popup%22%3A+%7B%0A++++++++++++%22menuitem%22%3A+%5B%0A++++++++++++++++%7B%0A++++++++++++++++++++%22value%22%3A+%22New%22%2C+%22onclick%22%3A+%22CreateNewDoc%28%29%22%0A++++++++++++++++%7D%2C%7B%0A++++++++++++++++++++%22value%22%3A+%22Open%22%2C+%22onclick%22%3A+%22OpenDoc%28%29%22%0A++++++++++++++++%7D%2C%7B%0A++++++++++++++++++++%22value%22%3A+%22Close%22%2C+%22onclick%22%3A+%22CloseDoc%28%29%22%0A++++++++++++++++%7D%0A++++++++++++%5D%0A++++++++%7D%0A++++%7D%0A%7D'
   19     3        SEND_VAL                                                 null
    3     4        DO_ICALL                                         $0      
   19     5        SEND_VAR                                                 $0
    3     6        DO_ICALL                                                 
   19     7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.3 ms | 1459 KiB | 15 Q