3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.4 ms | 1394 KiB | 15 Q