3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = new ArrayIterator(array()); var_dump(property_exists($foo, 'propi')); $foo->propi = 'test'; var_dump(property_exists($foo, 'propi')); echo $foo->propi;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IopaI
function name:  (null)
number of ops:  23
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'ArrayIterator'
          1        SEND_VAL_EX                                              <array>
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
    4     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'property_exists'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 'propi'
          8        DO_ICALL                                         $4      
          9        SEND_VAR                                                 $4
         10        DO_ICALL                                                 
    5    11        ASSIGN_OBJ                                               !0, 'propi'
         12        OP_DATA                                                  'test'
    6    13        INIT_FCALL                                               'var_dump'
         14        INIT_FCALL                                               'property_exists'
         15        SEND_VAR                                                 !0
         16        SEND_VAL                                                 'propi'
         17        DO_ICALL                                         $7      
         18        SEND_VAR                                                 $7
         19        DO_ICALL                                                 
    7    20        FETCH_OBJ_R                                      ~9      !0, 'propi'
         21        ECHO                                                     ~9
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.33 ms | 1399 KiB | 17 Q