3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = new stdClass(); $data->uid = 234; if (!empty($data->uid)) { $uid = $data->uid[0]; print_r('Made it'); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 14
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/vaGB9
function name:  (null)
number of ops:  15
compiled vars:  !0 = $data, !1 = $uid
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    4     3        ASSIGN_OBJ                                               !0, 'uid'
          4        OP_DATA                                                  234
    6     5        ISSET_ISEMPTY_PROP_OBJ                           ~6      !0, 'uid'
          6        BOOL_NOT                                         ~7      ~6
          7      > JMPZ                                                     ~7, ->14
    7     8    >   FETCH_OBJ_R                                      ~8      !0, 'uid'
          9        FETCH_DIM_R                                      ~9      ~8, 0
         10        ASSIGN                                                   !1, ~9
    8    11        INIT_FCALL                                               'print_r'
         12        SEND_VAL                                                 'Made+it'
         13        DO_ICALL                                                 
    9    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.6 ms | 1385 KiB | 15 Q