3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump($display['tbl_p'] && !empty($tbl_p[0]['RoSkusInCheckoutStore']) ? 'a' : 'b');
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 3, Position 2 = 7
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/fRdEO
function name:  (null)
number of ops:  14
compiled vars:  !0 = $display, !1 = $tbl_p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        FETCH_DIM_R                                      ~2      !0, 'tbl_p'
          2      > JMPZ_EX                                          ~2      ~2, ->7
          3    >   FETCH_DIM_IS                                     ~3      !1, 0
          4        ISSET_ISEMPTY_DIM_OBJ                         1  ~4      ~3, 'RoSkusInCheckoutStore'
          5        BOOL_NOT                                         ~5      ~4
          6        BOOL                                             ~2      ~5
          7    > > JMPZ                                                     ~2, ->10
          8    >   QM_ASSIGN                                        ~6      'a'
          9      > JMP                                                      ->11
         10    >   QM_ASSIGN                                        ~6      'b'
         11    >   SEND_VAL                                                 ~6
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.86 ms | 1394 KiB | 15 Q