3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public $bar; } var_dump(new Foo); $foo = new Foo; unset($foo->bar); var_dump($foo);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ohbgs
function name:  (null)
number of ops:  13
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'var_dump'
          1        NEW                                              $1      'Foo'
          2        DO_FCALL                                      0          
          3        SEND_VAR                                                 $1
          4        DO_ICALL                                                 
    8     5        NEW                                              $4      'Foo'
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !0, $4
    9     8        UNSET_OBJ                                                !0, 'bar'
   10     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.35 ms | 1394 KiB | 15 Q