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/4Ommu
function name:  (null)
number of ops:  16
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, ->10
          9        QM_ASSIGN                                        ~9      'nope'
         10        ASSIGN_OBJ                                               !0, 'utm'
         11        OP_DATA                                                  ~9
    6    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.69 ms | 1394 KiB | 15 Q