3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach ($item->extra_fields as $extraField): ?> <?php if($extraField->value): ?> <?php if(in_array($extraField->id,array(13,14,15))): ?> <li class="type<?php echo ucfirst($extraField->type); ?> group<?php echo $extraField->group; ?>"> <span class="moduleItemExtraFieldsLabel"><?php echo $extraField->name; ?></span> <span class="moduleItemExtraFieldsValue"><?php echo $extraField->value; ?></span> <div class="clr"></div> </li> <?php endif; ?> <?php endif; ?> <?php endforeach; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 32
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 32
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 30
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 29
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 29
Branch analysis from position: 30
Branch analysis from position: 32
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 32
filename:       /in/51tcd
function name:  (null)
number of ops:  34
compiled vars:  !0 = $item, !1 = $extraField
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   FETCH_OBJ_R                                      ~2      !0, 'extra_fields'
          1      > FE_RESET_R                                       $3      ~2, ->32
          2    > > FE_FETCH_R                                               $3, !1, ->32
    2     3    >   ECHO                                                     '+++++++++++'
          4        FETCH_OBJ_R                                      ~4      !1, 'value'
          5      > JMPZ                                                     ~4, ->30
    3     6    >   ECHO                                                     '++++++++++++++++++'
          7        INIT_FCALL                                               'in_array'
          8        FETCH_OBJ_R                                      ~5      !1, 'id'
          9        SEND_VAL                                                 ~5
         10        SEND_VAL                                                 <array>
         11        DO_ICALL                                         $6      
         12      > JMPZ                                                     $6, ->29
    4    13    >   ECHO                                                     '++++++++++++++++++++++%3Cli+class%3D%22type'
         14        INIT_FCALL                                               'ucfirst'
         15        FETCH_OBJ_R                                      ~7      !1, 'type'
         16        SEND_VAL                                                 ~7
         17        DO_ICALL                                         $8      
         18        ECHO                                                     $8
         19        ECHO                                                     '+group'
         20        FETCH_OBJ_R                                      ~9      !1, 'group'
         21        ECHO                                                     ~9
         22        ECHO                                                     '%22%3E%0A+++++++++++++++++++++++%3Cspan+class%3D%22moduleItemExtraFieldsLabel%22%3E'
    5    23        FETCH_OBJ_R                                      ~10     !1, 'name'
         24        ECHO                                                     ~10
         25        ECHO                                                     '%3C%2Fspan%3E%0A+++++++++++++++++++++++%3Cspan+class%3D%22moduleItemExtraFieldsValue%22%3E'
    6    26        FETCH_OBJ_R                                      ~11     !1, 'value'
         27        ECHO                                                     ~11
         28        ECHO                                                     '%3C%2Fspan%3E%0A+++++++++++++++++++++++%3Cdiv+class%3D%22clr%22%3E%3C%2Fdiv%3E%0A+++++++++++++++++++++++++%3C%2Fli%3E%0A+++++++++++++++++++'
   10    29    >   ECHO                                                     '+++++++++++'
   11    30    >   ECHO                                                     '++++'
    1    31      > JMP                                                      ->2
         32    >   FE_FREE                                                  $3
   11    33      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.84 ms | 1400 KiB | 17 Q