3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = (object) array( 'bar' => 'baz' ); var_dump('exists? (1)', property_exists($foo, 'bar')); unset($foo->bar); var_dump('exists? (2)', property_exists($foo, 'bar'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/n9JSN
function name:  (null)
number of ops:  20
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   CAST                                          8  ~1      <array>
    3     1        ASSIGN                                                   !0, ~1
    7     2        INIT_FCALL                                               'var_dump'
          3        SEND_VAL                                                 'exists%3F+%281%29'
          4        INIT_FCALL                                               'property_exists'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 'bar'
          7        DO_ICALL                                         $3      
          8        SEND_VAR                                                 $3
          9        DO_ICALL                                                 
    9    10        UNSET_OBJ                                                !0, 'bar'
   11    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAL                                                 'exists%3F+%282%29'
         13        INIT_FCALL                                               'property_exists'
         14        SEND_VAR                                                 !0
         15        SEND_VAL                                                 'bar'
         16        DO_ICALL                                         $5      
         17        SEND_VAR                                                 $5
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.93 ms | 1395 KiB | 17 Q