3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
173.47 ms | 2088 KiB | 14 Q