3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
196.64 ms | 1394 KiB | 15 Q