3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = 'string'; var_dump($var['ola']); $var = 'string'; if (isset($var) && ! is_string($var)) { var_dump($var['ola']); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 11
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 16
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
Branch analysis from position: 11
filename:       /in/7FUK1
function name:  (null)
number of ops:  17
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'string'
    3     1        INIT_FCALL                                               'var_dump'
          2        FETCH_DIM_R                                      ~2      !0, 'ola'
          3        SEND_VAL                                                 ~2
          4        DO_ICALL                                                 
    5     5        ASSIGN                                                   !0, 'string'
    6     6        ISSET_ISEMPTY_CV                                 ~5      !0
          7      > JMPZ_EX                                          ~5      ~5, ->11
          8    >   TYPE_CHECK                                   64  ~6      !0
          9        BOOL_NOT                                         ~7      ~6
         10        BOOL                                             ~5      ~7
         11    > > JMPZ                                                     ~5, ->16
    7    12    >   INIT_FCALL                                               'var_dump'
         13        FETCH_DIM_R                                      ~8      !0, 'ola'
         14        SEND_VAL                                                 ~8
         15        DO_ICALL                                                 
    8    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.31 ms | 1394 KiB | 15 Q