3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
188.01 ms | 941 KiB | 16 Q