3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = new stdClass(); $arr->uuid_1 = "omg"; $arr->uuid_2 = "omg2"; var_dump(json_encode($arr));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gVRv5
function name:  (null)
number of ops:  14
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    4     3        ASSIGN_OBJ                                               !0, 'uuid_1'
          4        OP_DATA                                                  'omg'
    5     5        ASSIGN_OBJ                                               !0, 'uuid_2'
          6        OP_DATA                                                  'omg2'
    7     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'json_encode'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $6      
         11        SEND_VAR                                                 $6
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.02 ms | 1394 KiB | 17 Q