3v4l.org

run code in 300+ PHP versions simultaneously
<?php $g = json_decode('{"logo":{"text": "logo Text"}, "bla":[],"fonts":{},"themeId":"default","themeCache":{},"background":{},"variables":{"v": "v", "v2": 1}}'); var_dump($g); echo json_encode($g);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YS64k
function name:  (null)
number of ops:  12
compiled vars:  !0 = $g
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'json_decode'
          1        SEND_VAL                                                 '%7B%22logo%22%3A%7B%22text%22%3A+%22logo+Text%22%7D%2C+%22bla%22%3A%5B%5D%2C%22fonts%22%3A%7B%7D%2C%22themeId%22%3A%22default%22%2C%22themeCache%22%3A%7B%7D%2C%22background%22%3A%7B%7D%2C%22variables%22%3A%7B%22v%22%3A+%22v%22%2C+%22v2%22%3A+1%7D%7D'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    3     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
    5     7        INIT_FCALL                                               'json_encode'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $4      
         10        ECHO                                                     $4
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.29 ms | 1394 KiB | 19 Q