3v4l.org

run code in 300+ PHP versions simultaneously
<?php $node = new stdClass(); $node->type = 'tv_show'; if ($node->type == 'tv_show' && !empty($node->field_show_type[LANGUAGE_NONE]) && !empty($node->field_show_type[LANGUAGE_NONE][0]['value'])) { var_export($node->field_show_type[LANGUAGE_NONE][0]['value']); } else { echo "field_show_type is empty\n"; } if ($node->type == 'tv_show' && !empty($node->field_show_type[LANGUAGE_NONE][0]['value'])) { var_export($node->field_show_type[LANGUAGE_NONE][0]['value']); }else { echo "field_show_type is empty\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 13
Branch analysis from position: 8
2 jumps found. (Code = 46) Position 1 = 14, Position 2 = 21
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 31
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 32
Branch analysis from position: 32
2 jumps found. (Code = 46) Position 1 = 35, Position 2 = 42
Branch analysis from position: 35
2 jumps found. (Code = 43) Position 1 = 43, Position 2 = 52
Branch analysis from position: 43
1 jumps found. (Code = 42) Position 1 = 53
Branch analysis from position: 53
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 52
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 42
Branch analysis from position: 31
2 jumps found. (Code = 46) Position 1 = 35, Position 2 = 42
Branch analysis from position: 35
Branch analysis from position: 42
Branch analysis from position: 21
Branch analysis from position: 13
filename:       /in/uBBiQ
function name:  (null)
number of ops:  54
compiled vars:  !0 = $node
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    4     3        ASSIGN_OBJ                                               !0, 'type'
          4        OP_DATA                                                  'tv_show'
    6     5        FETCH_OBJ_R                                      ~5      !0, 'type'
          6        IS_EQUAL                                         ~6      ~5, 'tv_show'
          7      > JMPZ_EX                                          ~6      ~6, ->13
          8    >   FETCH_CONSTANT                                   ~8      'LANGUAGE_NONE'
          9        FETCH_OBJ_IS                                     ~7      !0, 'field_show_type'
         10        ISSET_ISEMPTY_DIM_OBJ                         1  ~9      ~7, ~8
         11        BOOL_NOT                                         ~10     ~9
         12        BOOL                                             ~6      ~10
         13    > > JMPZ_EX                                          ~6      ~6, ->21
         14    >   FETCH_CONSTANT                                   ~12     'LANGUAGE_NONE'
         15        FETCH_OBJ_IS                                     ~11     !0, 'field_show_type'
         16        FETCH_DIM_IS                                     ~13     ~11, ~12
         17        FETCH_DIM_IS                                     ~14     ~13, 0
         18        ISSET_ISEMPTY_DIM_OBJ                         1  ~15     ~14, 'value'
         19        BOOL_NOT                                         ~16     ~15
         20        BOOL                                             ~6      ~16
         21    > > JMPZ                                                     ~6, ->31
    7    22    >   INIT_FCALL                                               'var_export'
         23        FETCH_CONSTANT                                   ~18     'LANGUAGE_NONE'
         24        FETCH_OBJ_R                                      ~17     !0, 'field_show_type'
         25        FETCH_DIM_R                                      ~19     ~17, ~18
         26        FETCH_DIM_R                                      ~20     ~19, 0
         27        FETCH_DIM_R                                      ~21     ~20, 'value'
         28        SEND_VAL                                                 ~21
         29        DO_ICALL                                                 
         30      > JMP                                                      ->32
   10    31    >   ECHO                                                     'field_show_type+is+empty%0A'
   13    32    >   FETCH_OBJ_R                                      ~23     !0, 'type'
         33        IS_EQUAL                                         ~24     ~23, 'tv_show'
         34      > JMPZ_EX                                          ~24     ~24, ->42
         35    >   FETCH_CONSTANT                                   ~26     'LANGUAGE_NONE'
         36        FETCH_OBJ_IS                                     ~25     !0, 'field_show_type'
         37        FETCH_DIM_IS                                     ~27     ~25, ~26
         38        FETCH_DIM_IS                                     ~28     ~27, 0
         39        ISSET_ISEMPTY_DIM_OBJ                         1  ~29     ~28, 'value'
         40        BOOL_NOT                                         ~30     ~29
         41        BOOL                                             ~24     ~30
         42    > > JMPZ                                                     ~24, ->52
   14    43    >   INIT_FCALL                                               'var_export'
         44        FETCH_CONSTANT                                   ~32     'LANGUAGE_NONE'
         45        FETCH_OBJ_R                                      ~31     !0, 'field_show_type'
         46        FETCH_DIM_R                                      ~33     ~31, ~32
         47        FETCH_DIM_R                                      ~34     ~33, 0
         48        FETCH_DIM_R                                      ~35     ~34, 'value'
         49        SEND_VAL                                                 ~35
         50        DO_ICALL                                                 
         51      > JMP                                                      ->53
   16    52    >   ECHO                                                     'field_show_type+is+empty%0A'
   17    53    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.45 ms | 1405 KiB | 15 Q