3v4l.org

run code in 500+ PHP versions simultaneously
<?php $field_name = 'test'; $group = !empty($groups[$field_name]) ? $groups[$field_name] : NULL; $field = array('label' => $group->label);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/c3o8K
function name:  (null)
number of ops:  13
compiled vars:  !0 = $field_name, !1 = $group, !2 = $groups, !3 = $field
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'test'
    4     1        ISSET_ISEMPTY_DIM_OBJ                             1  ~5      !2, !0
          2        BOOL_NOT                                             ~6      ~5
          3      > JMPZ                                                         ~6, ->7
          4    >   FETCH_DIM_R                                          ~7      !2, !0
          5        QM_ASSIGN                                            ~8      ~7
          6      > JMP                                                          ->8
          7    >   QM_ASSIGN                                            ~8      null
          8    >   ASSIGN                                                       !1, ~8
    5     9        FETCH_OBJ_R                                          ~10     !1, 'label'
         10        INIT_ARRAY                                           ~11     ~10, 'label'
         11        ASSIGN                                                       !3, ~11
         12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
151.49 ms | 1430 KiB | 8 Q