3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = "bar"; var_dump(is_array($foo) && empty($foo['hello there']));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/LScIJ
function name:  (null)
number of ops:  9
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'bar'
    4     1        INIT_FCALL                                               'var_dump'
          2        TYPE_CHECK                                  128  ~2      !0
          3      > JMPZ_EX                                          ~2      ~2, ->6
          4    >   ISSET_ISEMPTY_DIM_OBJ                         1  ~3      !0, 'hello+there'
          5        BOOL                                             ~2      ~3
          6    >   SEND_VAL                                                 ~2
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.77 ms | 1394 KiB | 15 Q