3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.19 ms | 1008 KiB | 14 Q