3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.92 ms | 1394 KiB | 17 Q